diff options
author | Andrew Lenharth <andrewl@lenharth.org> | 2005-02-12 21:10:58 +0000 |
---|---|---|
committer | Andrew Lenharth <andrewl@lenharth.org> | 2005-02-12 21:10:58 +0000 |
commit | ab4db0522acc8b94c47197dc520a602fdcede1a6 (patch) | |
tree | a3f7f1df2a9f0910e5a8ccfbd94c40b161618bda /llvm/lib/Target/Alpha/AlphaInstrInfo.td | |
parent | df5cd0868f87e4b7f729c5c2750f99f3e8290f13 (diff) | |
download | bcm5719-llvm-ab4db0522acc8b94c47197dc520a602fdcede1a6.tar.gz bcm5719-llvm-ab4db0522acc8b94c47197dc520a602fdcede1a6.zip |
make FP conversion more conservative (matches gcc)
llvm-svn: 20142
Diffstat (limited to 'llvm/lib/Target/Alpha/AlphaInstrInfo.td')
-rw-r--r-- | llvm/lib/Target/Alpha/AlphaInstrInfo.td | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/llvm/lib/Target/Alpha/AlphaInstrInfo.td b/llvm/lib/Target/Alpha/AlphaInstrInfo.td index dd8bc790c39..27ad8c07daf 100644 --- a/llvm/lib/Target/Alpha/AlphaInstrInfo.td +++ b/llvm/lib/Target/Alpha/AlphaInstrInfo.td @@ -356,11 +356,12 @@ def ITOFT : FPForm<0x14, 0x024, (ops FPRC:$RC, GPRC:$RA), "itoft $RA,$RC">; //In //CVTLQ F-P 17.010 Convert longword to quadword //CVTQL F-P 17.030 Convert quadword to longword +//These use SW completion, may not have function code for that set right (matters for JIT) def CVTQS : FPForm<0x16, 0x0BC, (ops FPRC:$RC, FPRC:$RA), "cvtqs $RA,$RC">; //Convert quadword to S_floating def CVTQT : FPForm<0x16, 0x0BE, (ops FPRC:$RC, FPRC:$RA), "cvtqt $RA,$RC">; //Convert quadword to T_floating -def CVTST : FPForm<0x16, 0x2AC, (ops FPRC:$RC, FPRC:$RA), "cvtsts $RA,$RC">; //Convert S_floating to T_floating (use completion, may not have function code for that set right) -def CVTTQ : FPForm<0x16, 0x0AF, (ops FPRC:$RC, FPRC:$RA), "cvttq $RA,$RC">; //Convert T_floating to quadword -def CVTTS : FPForm<0x16, 0x2AC, (ops FPRC:$RC, FPRC:$RA), "cvtts $RA,$RC">; //Convert T_floating to S_floating +def CVTST : FPForm<0x16, 0x2AC, (ops FPRC:$RC, FPRC:$RA), "cvtsts $RA,$RC">; //Convert S_floating to T_floating +def CVTTQ : FPForm<0x16, 0x0AF, (ops FPRC:$RC, FPRC:$RA), "cvttq/svc $RA,$RC">; //Convert T_floating to quadword +def CVTTS : FPForm<0x16, 0x2AC, (ops FPRC:$RC, FPRC:$RA), "cvtts/su $RA,$RC">; //Convert T_floating to S_floating //S_floating : IEEE Single //T_floating : IEEE Double |