llvm-svn: 76022
This commit is contained in:
Anton Korobeynikov 2009-07-16 14:21:12 +00:00
parent d7416e7c0b
commit 50485d65d4
1 changed files with 8 additions and 0 deletions

View File

@ -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),