mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-20 02:58:10 +00:00
Add fneg
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76022 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9b4ae577ce
commit
f1e82ce480
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user