mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-11 00:39:36 +00:00
Annotate the remaining x86 instructions with SchedRW lists.
Now all x86 instructions that have itinerary classes also have SchedRW lists. This is required before the new scheduling models can be used. There are still unannotated instructions remaining, but they don't have itinerary classes either. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178051 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
75f6310dc9
commit
b4f60e9f77
@ -1294,12 +1294,12 @@ let neverHasSideEffects = 1 in {
|
||||
let isCommutable = 1 in
|
||||
def rr : I<0xF6, MRMSrcReg, (outs RC:$dst1, RC:$dst2), (ins RC:$src),
|
||||
!strconcat(mnemonic, "\t{$src, $dst2, $dst1|$dst1, $dst2, $src}"),
|
||||
[], IIC_MUL8>, T8XD, VEX_4V;
|
||||
[], IIC_MUL8>, T8XD, VEX_4V, Sched<[WriteIMul]>;
|
||||
|
||||
let mayLoad = 1 in
|
||||
def rm : I<0xF6, MRMSrcMem, (outs RC:$dst1, RC:$dst2), (ins x86memop:$src),
|
||||
!strconcat(mnemonic, "\t{$src, $dst2, $dst1|$dst1, $dst2, $src}"),
|
||||
[], IIC_MUL8>, T8XD, VEX_4V;
|
||||
[], IIC_MUL8>, T8XD, VEX_4V, Sched<[WriteIMulLd]>;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -138,16 +138,16 @@ def MOVSX64rm32: RI<0x63, MRMSrcMem, (outs GR64:$dst), (ins i32mem:$src),
|
||||
// movzbq and movzwq encodings for the disassembler
|
||||
def MOVZX64rr8_Q : RI<0xB6, MRMSrcReg, (outs GR64:$dst), (ins GR8:$src),
|
||||
"movz{bq|x}\t{$src, $dst|$dst, $src}", [], IIC_MOVZX>,
|
||||
TB;
|
||||
TB, Sched<[WriteALU]>;
|
||||
def MOVZX64rm8_Q : RI<0xB6, MRMSrcMem, (outs GR64:$dst), (ins i8mem:$src),
|
||||
"movz{bq|x}\t{$src, $dst|$dst, $src}", [], IIC_MOVZX>,
|
||||
TB;
|
||||
TB, Sched<[WriteALULd]>;
|
||||
def MOVZX64rr16_Q : RI<0xB7, MRMSrcReg, (outs GR64:$dst), (ins GR16:$src),
|
||||
"movz{wq|x}\t{$src, $dst|$dst, $src}", [], IIC_MOVZX>,
|
||||
TB;
|
||||
TB, Sched<[WriteALU]>;
|
||||
def MOVZX64rm16_Q : RI<0xB7, MRMSrcMem, (outs GR64:$dst), (ins i16mem:$src),
|
||||
"movz{wq|x}\t{$src, $dst|$dst, $src}", [], IIC_MOVZX>,
|
||||
TB;
|
||||
TB, Sched<[WriteALULd]>;
|
||||
|
||||
// FIXME: These should be Pat patterns.
|
||||
let isCodeGenOnly = 1 in {
|
||||
|
@ -3535,17 +3535,17 @@ def : Pat<(X86MFence), (MFENCE)>;
|
||||
|
||||
def VLDMXCSR : VPSI<0xAE, MRM2m, (outs), (ins i32mem:$src),
|
||||
"ldmxcsr\t$src", [(int_x86_sse_ldmxcsr addr:$src)],
|
||||
IIC_SSE_LDMXCSR>, VEX;
|
||||
IIC_SSE_LDMXCSR>, VEX, Sched<[WriteLoad]>;
|
||||
def VSTMXCSR : VPSI<0xAE, MRM3m, (outs), (ins i32mem:$dst),
|
||||
"stmxcsr\t$dst", [(int_x86_sse_stmxcsr addr:$dst)],
|
||||
IIC_SSE_STMXCSR>, VEX;
|
||||
IIC_SSE_STMXCSR>, VEX, Sched<[WriteStore]>;
|
||||
|
||||
def LDMXCSR : PSI<0xAE, MRM2m, (outs), (ins i32mem:$src),
|
||||
"ldmxcsr\t$src", [(int_x86_sse_ldmxcsr addr:$src)],
|
||||
IIC_SSE_LDMXCSR>;
|
||||
IIC_SSE_LDMXCSR>, Sched<[WriteLoad]>;
|
||||
def STMXCSR : PSI<0xAE, MRM3m, (outs), (ins i32mem:$dst),
|
||||
"stmxcsr\t$dst", [(int_x86_sse_stmxcsr addr:$dst)],
|
||||
IIC_SSE_STMXCSR>;
|
||||
IIC_SSE_STMXCSR>, Sched<[WriteStore]>;
|
||||
|
||||
//===---------------------------------------------------------------------===//
|
||||
// SSE2 - Move Aligned/Unaligned Packed Integer Instructions
|
||||
|
Loading…
x
Reference in New Issue
Block a user