projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
188538d
)
*** empty log message ***
author
Jeff Law
<law@gcc.gnu.org>
Sat, 11 Apr 1992 14:34:44 +0000
(08:34 -0600)
committer
Jeff Law
<law@gcc.gnu.org>
Sat, 11 Apr 1992 14:34:44 +0000
(08:34 -0600)
From-SVN: r725
gcc/config/m68k/m68k.md
patch
|
blob
|
history
diff --git
a/gcc/config/m68k/m68k.md
b/gcc/config/m68k/m68k.md
index 154eb29deb32284770c7df3d992240e4a70146d0..69b9b436dff513dcd9d09014f866701cf79350df 100644
(file)
--- a/
gcc/config/m68k/m68k.md
+++ b/
gcc/config/m68k/m68k.md
@@
-3138,6
+3138,20
@@
return \"f%&neg%.d %f1,%0\";
}")
\f
+;; Sqrt instruction for the 68881
+
+(define_insn "sqrtdf2"
+ [(set (match_operand:DF 0 "general_operand" "=f")
+ (sqrt:DF (match_operand:DF 1 "general_operand" "fm")))]
+ "TARGET_68881"
+ "*
+{
+ if (FP_REG_P (operands[1]))
+ return \"fsqrt%.x %1,%0\";
+ else
+ return \"fsqrt%.d %1,%0\";
+}")
+
;; Absolute value instructions
(define_expand "abssf2"