aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/SystemZ/SystemZInstrFP.td
diff options
context:
space:
mode:
authorAnton Korobeynikov <asl@math.spbu.ru>2009-08-21 20:02:37 +0000
committerAnton Korobeynikov <asl@math.spbu.ru>2009-08-21 20:02:37 +0000
commit162da3c7b4764e7f685e3ef51798879b31e881c6 (patch)
tree7ae84e4f7a35cfcead5f4659ecca21bfae877fb9 /lib/Target/SystemZ/SystemZInstrFP.td
parent9085750d3126618ab1b3a4104c34bc504f8b09f4 (diff)
downloadexternal_llvm-162da3c7b4764e7f685e3ef51798879b31e881c6.zip
external_llvm-162da3c7b4764e7f685e3ef51798879b31e881c6.tar.gz
external_llvm-162da3c7b4764e7f685e3ef51798879b31e881c6.tar.bz2
Add fcopysign instructions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79664 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/SystemZ/SystemZInstrFP.td')
-rw-r--r--lib/Target/SystemZ/SystemZInstrFP.td7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/Target/SystemZ/SystemZInstrFP.td b/lib/Target/SystemZ/SystemZInstrFP.td
index a5bda24..8a202d4 100644
--- a/lib/Target/SystemZ/SystemZInstrFP.td
+++ b/lib/Target/SystemZ/SystemZInstrFP.td
@@ -86,6 +86,13 @@ def FMOV64mry : Pseudo<(outs), (ins rriaddr:$dst, FP64:$src),
"stdy\t{$src, $dst}",
[(store FP64:$src, rriaddr:$dst)]>;
+def FCOPYSIGN32 : Pseudo<(outs FP32:$dst), (ins FP32:$src1, FP32:$src2),
+ "cpsdr\t{$dst, $src2, $src1}",
+ [(set FP32:$dst, (fcopysign FP32:$src1, FP32:$src2))]>;
+def FCOPYSIGN64 : Pseudo<(outs FP64:$dst), (ins FP64:$src1, FP64:$src2),
+ "cpsdr\t{$dst, $src2, $src1}",
+ [(set FP64:$dst, (fcopysign FP64:$src1, FP64:$src2))]>;
+
//===----------------------------------------------------------------------===//
// Arithmetic Instructions