mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 04:30:12 +00:00
Add a missing pattern for movhps so that we get:
movq (%ecx,%edx,2), %xmm2 movhps (%ecx,%eax,2), %xmm2 rather than: movq (%eax, %edx, 2), %xmm2 movq (%eax, %ebx, 2), %xmm3 movlhps %xmm3, %xmm2 Testcase forthcoming. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95948 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c4d3f662fc
commit
7cdba6d1f4
@ -762,6 +762,9 @@ let Constraints = "$src1 = $dst" in {
|
|||||||
} // Constraints = "$src1 = $dst"
|
} // Constraints = "$src1 = $dst"
|
||||||
|
|
||||||
|
|
||||||
|
def : Pat<(movlhps VR128:$src1, (bc_v4i32 (v2i64 (X86vzload addr:$src2)))),
|
||||||
|
(MOVHPSrm VR128:$src1, addr:$src2)>;
|
||||||
|
|
||||||
def MOVLPSmr : PSI<0x13, MRMDestMem, (outs), (ins f64mem:$dst, VR128:$src),
|
def MOVLPSmr : PSI<0x13, MRMDestMem, (outs), (ins f64mem:$dst, VR128:$src),
|
||||||
"movlps\t{$src, $dst|$dst, $src}",
|
"movlps\t{$src, $dst|$dst, $src}",
|
||||||
[(store (f64 (vector_extract (bc_v2f64 (v4f32 VR128:$src)),
|
[(store (f64 (vector_extract (bc_v2f64 (v4f32 VR128:$src)),
|
||||||
|
Loading…
Reference in New Issue
Block a user