mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-15 14:28:25 +00:00
Move X86InstrFPStack.td over to PseudoI as well.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120470 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d8d35316de
commit
c563ded794
@ -73,41 +73,23 @@ def fpimmneg1 : PatLeaf<(fpimm), [{
|
||||
|
||||
// Some 'special' instructions
|
||||
let usesCustomInserter = 1 in { // Expanded after instruction selection.
|
||||
def FP32_TO_INT16_IN_MEM : I<0, Pseudo,
|
||||
(outs), (ins i16mem:$dst, RFP32:$src),
|
||||
"##FP32_TO_INT16_IN_MEM PSEUDO!",
|
||||
def FP32_TO_INT16_IN_MEM : PseudoI<(outs), (ins i16mem:$dst, RFP32:$src),
|
||||
[(X86fp_to_i16mem RFP32:$src, addr:$dst)]>;
|
||||
def FP32_TO_INT32_IN_MEM : I<0, Pseudo,
|
||||
(outs), (ins i32mem:$dst, RFP32:$src),
|
||||
"##FP32_TO_INT32_IN_MEM PSEUDO!",
|
||||
def FP32_TO_INT32_IN_MEM : PseudoI<(outs), (ins i32mem:$dst, RFP32:$src),
|
||||
[(X86fp_to_i32mem RFP32:$src, addr:$dst)]>;
|
||||
def FP32_TO_INT64_IN_MEM : I<0, Pseudo,
|
||||
(outs), (ins i64mem:$dst, RFP32:$src),
|
||||
"##FP32_TO_INT64_IN_MEM PSEUDO!",
|
||||
def FP32_TO_INT64_IN_MEM : PseudoI<(outs), (ins i64mem:$dst, RFP32:$src),
|
||||
[(X86fp_to_i64mem RFP32:$src, addr:$dst)]>;
|
||||
def FP64_TO_INT16_IN_MEM : I<0, Pseudo,
|
||||
(outs), (ins i16mem:$dst, RFP64:$src),
|
||||
"##FP64_TO_INT16_IN_MEM PSEUDO!",
|
||||
def FP64_TO_INT16_IN_MEM : PseudoI<(outs), (ins i16mem:$dst, RFP64:$src),
|
||||
[(X86fp_to_i16mem RFP64:$src, addr:$dst)]>;
|
||||
def FP64_TO_INT32_IN_MEM : I<0, Pseudo,
|
||||
(outs), (ins i32mem:$dst, RFP64:$src),
|
||||
"##FP64_TO_INT32_IN_MEM PSEUDO!",
|
||||
def FP64_TO_INT32_IN_MEM : PseudoI<(outs), (ins i32mem:$dst, RFP64:$src),
|
||||
[(X86fp_to_i32mem RFP64:$src, addr:$dst)]>;
|
||||
def FP64_TO_INT64_IN_MEM : I<0, Pseudo,
|
||||
(outs), (ins i64mem:$dst, RFP64:$src),
|
||||
"##FP64_TO_INT64_IN_MEM PSEUDO!",
|
||||
def FP64_TO_INT64_IN_MEM : PseudoI<(outs), (ins i64mem:$dst, RFP64:$src),
|
||||
[(X86fp_to_i64mem RFP64:$src, addr:$dst)]>;
|
||||
def FP80_TO_INT16_IN_MEM : I<0, Pseudo,
|
||||
(outs), (ins i16mem:$dst, RFP80:$src),
|
||||
"##FP80_TO_INT16_IN_MEM PSEUDO!",
|
||||
def FP80_TO_INT16_IN_MEM : PseudoI<(outs), (ins i16mem:$dst, RFP80:$src),
|
||||
[(X86fp_to_i16mem RFP80:$src, addr:$dst)]>;
|
||||
def FP80_TO_INT32_IN_MEM : I<0, Pseudo,
|
||||
(outs), (ins i32mem:$dst, RFP80:$src),
|
||||
"##FP80_TO_INT32_IN_MEM PSEUDO!",
|
||||
def FP80_TO_INT32_IN_MEM : PseudoI<(outs), (ins i32mem:$dst, RFP80:$src),
|
||||
[(X86fp_to_i32mem RFP80:$src, addr:$dst)]>;
|
||||
def FP80_TO_INT64_IN_MEM : I<0, Pseudo,
|
||||
(outs), (ins i64mem:$dst, RFP80:$src),
|
||||
"##FP80_TO_INT64_IN_MEM PSEUDO!",
|
||||
def FP80_TO_INT64_IN_MEM : PseudoI<(outs), (ins i64mem:$dst, RFP80:$src),
|
||||
[(X86fp_to_i64mem RFP80:$src, addr:$dst)]>;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user