diff options
author | Duraid Madina <duraid@octopus.com.au> | 2005-11-01 03:32:15 +0000 |
---|---|---|
committer | Duraid Madina <duraid@octopus.com.au> | 2005-11-01 03:32:15 +0000 |
commit | aba8457125bc2725a9e3430901c7d78332d4e983 (patch) | |
tree | a8c95df69e72b30c51f5c93cc5d5379e42b03d27 | |
parent | e2fd9e2d9df6950b12597262b0eb2bb073ed9cbd (diff) |
so tablegen was thinking I might want to convert FPs to predicates.
clever little tablegen!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24133 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/IA64/IA64InstrInfo.td | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/Target/IA64/IA64InstrInfo.td b/lib/Target/IA64/IA64InstrInfo.td index 0ec4022f51..e8509965cd 100644 --- a/lib/Target/IA64/IA64InstrInfo.td +++ b/lib/Target/IA64/IA64InstrInfo.td @@ -558,12 +558,11 @@ def SINT_TO_FP : Pat<(sint_to_fp GR:$src), (FNORMD (FCVTXF (SETFSIG GR:$src)))>; def UINT_TO_FP : Pat<(uint_to_fp GR:$src), (FNORMD (FCVTXUF (SETFSIG GR:$src)))>; -/* FIXME: tablegen coughs on these -def FP_TO_SINT : Pat<(fp_to_sint FP:$src), +def FP_TO_SINT : Pat<(i64 (fp_to_sint FP:$src)), (GETFSIG (FCVTFXTRUNC FP:$src))>; -def FP_TO_UINT : Pat<(fp_to_uint FP:$src), +def FP_TO_UINT : Pat<(i64 (fp_to_uint FP:$src)), (GETFSIG (FCVTFXUTRUNC FP:$src))>; -*/ + let isTerminator = 1, isBranch = 1 in { def BRL_NOTCALL : RawForm<0x03, 0xb0, (ops i64imm:$dst), |