Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
please add encoding tests for intel style assembler.
Is it possible to implement movss/sd load intrinsic in this patch?
| ../trunk/lib/Target/X86/X86InstrAVX512.td | ||
|---|---|---|
| 2954 |
something like let Constraints = "$src1 = $dst" , mayLoad = 1 in
defm rm_Int : AVX512_maskable_3src_scalar<0x10, MRMSrcMem, _,
(outs _.RC:$dst),
(ins _.ScalarMemOp:$src),
asm,"$src","$src",
(_.VT (OpNode (_.VT _.RC:$src1),
(_.VT (scalar_to_vector
(_.ScalarLdFrag addr:$src)))))>, EVEX; | |
| 2960 | You can use AVX512PI , and pass vmovss as parameter to avx512_move_scalar to avoid "v"#asm above ( in rr_Int ) | |
| 2965 | let mayLoad = 1 in | |
Comment Actions
made changes according to Igor comments
plan to add load intrinsics in the following patch
add intel style encoding tests
thanks for the review!
something like
let Constraints = "$src1 = $dst" , mayLoad = 1 in defm rm_Int : AVX512_maskable_3src_scalar<0x10, MRMSrcMem, _, (outs _.RC:$dst), (ins _.ScalarMemOp:$src), asm,"$src","$src", (_.VT (OpNode (_.VT _.RC:$src1), (_.VT (scalar_to_vector (_.ScalarLdFrag addr:$src)))))>, EVEX;