Add AVX 256-bit packed MOVNT variants

llvm-svn: 108021
This commit is contained in:
Bruno Cardoso Lopes 2010-07-09 21:42:42 +00:00
parent ef941722c5
commit f4180a9a7b
3 changed files with 47 additions and 0 deletions

View File

@ -2117,6 +2117,28 @@ let isAsmParserOnly = 1 in {
"movntdq\t{$src, $dst|$dst, $src}",
[(alignednontemporalstore (v4f32 VR128:$src),
addr:$dst)]>, VEX;
def VMOVNTPSYmr : VPSI<0x2B, MRMDestMem, (outs),
(ins f256mem:$dst, VR256:$src),
"movntps\t{$src, $dst|$dst, $src}",
[(alignednontemporalstore (v8f32 VR256:$src),
addr:$dst)]>, VEX;
def VMOVNTPDYmr : VPDI<0x2B, MRMDestMem, (outs),
(ins f256mem:$dst, VR256:$src),
"movntpd\t{$src, $dst|$dst, $src}",
[(alignednontemporalstore (v4f64 VR256:$src),
addr:$dst)]>, VEX;
def VMOVNTDQY_64mr : VPDI<0xE7, MRMDestMem, (outs),
(ins f256mem:$dst, VR256:$src),
"movntdq\t{$src, $dst|$dst, $src}",
[(alignednontemporalstore (v4f64 VR256:$src),
addr:$dst)]>, VEX;
let ExeDomain = SSEPackedInt in
def VMOVNTDQYmr : VPDI<0xE7, MRMDestMem, (outs),
(ins f256mem:$dst, VR256:$src),
"movntdq\t{$src, $dst|$dst, $src}",
[(alignednontemporalstore (v8f32 VR256:$src),
addr:$dst)]>, VEX;
}
}

View File

@ -12386,3 +12386,16 @@
// CHECK: encoding: [0xc5,0xed,0x14,0x6c,0xcb,0xfc]
vunpcklpd -4(%ebx,%ecx,8), %ymm2, %ymm5
// CHECK: vmovntdq %ymm1, (%eax)
// CHECK: encoding: [0xc5,0xfd,0xe7,0x08]
vmovntdq %ymm1, (%eax)
// CHECK: vmovntpd %ymm1, (%eax)
// CHECK: encoding: [0xc5,0xfd,0x2b,0x08]
vmovntpd %ymm1, (%eax)
// CHECK: vmovntps %ymm1, (%eax)
// CHECK: encoding: [0xc5,0xfc,0x2b,0x08]
vmovntps %ymm1, (%eax)

View File

@ -2460,3 +2460,15 @@ pshufb CPI1_0(%rip), %xmm1
// CHECK: encoding: [0xc5,0x1d,0x14,0x54,0xcb,0xfc]
vunpcklpd -4(%rbx,%rcx,8), %ymm12, %ymm10
// CHECK: vmovntdq %ymm11, (%rax)
// CHECK: encoding: [0xc5,0x7d,0xe7,0x18]
vmovntdq %ymm11, (%rax)
// CHECK: vmovntpd %ymm11, (%rax)
// CHECK: encoding: [0xc5,0x7d,0x2b,0x18]
vmovntpd %ymm11, (%rax)
// CHECK: vmovntps %ymm11, (%rax)
// CHECK: encoding: [0xc5,0x7c,0x2b,0x18]
vmovntps %ymm11, (%rax)