diff options
author | Anton Korobeynikov <asl@math.spbu.ru> | 2009-07-16 14:21:12 +0000 |
---|---|---|
committer | Anton Korobeynikov <asl@math.spbu.ru> | 2009-07-16 14:21:12 +0000 |
commit | f1e82ce480c02df695bc919bb9250c7b877c3692 (patch) | |
tree | 15d5417f69a973ded58b7adf57fe2facfd7ccd1f | |
parent | 9b4ae577ce292e9bca419cc90120d4df0a861589 (diff) |
Add fneg
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76022 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/SystemZ/SystemZInstrFP.td | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/Target/SystemZ/SystemZInstrFP.td b/lib/Target/SystemZ/SystemZInstrFP.td index 05f9f81464..ca9556dab6 100644 --- a/lib/Target/SystemZ/SystemZInstrFP.td +++ b/lib/Target/SystemZ/SystemZInstrFP.td @@ -57,7 +57,15 @@ def FMOV64mry : Pseudo<(outs), (ins rriaddr:$dst, FP64:$src), //===----------------------------------------------------------------------===// // Arithmetic Instructions + + let isTwoAddress = 1 in { +def FNEG32rr : Pseudo<(outs FP32:$dst), (ins FP32:$src), + "lcebr\t{$dst}", + [(set FP32:$dst, (fneg FP32:$src))]>; +def FNEG64rr : Pseudo<(outs FP64:$dst), (ins FP64:$src), + "lcdbr\t{$dst}", + [(set FP64:$dst, (fneg FP64:$src))]>; let isCommutable = 1 in { // X = ADD Y, Z == X = ADD Z, Y def FADD32rr : Pseudo<(outs FP32:$dst), (ins FP32:$src1, FP32:$src2), |