aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/ia64
diff options
context:
space:
mode:
authorRichard Henderson <rth@cygnus.com>2000-09-07 23:17:23 -0700
committerRichard Henderson <rth@gcc.gnu.org>2000-09-07 23:17:23 -0700
commit4287b5f14d48722a024645292ba295d485973665 (patch)
treee5855397cfb64bb66951866523a36e669acb6991 /gcc/config/ia64
parentc5d71f39e016e8eaf03b304c9694615919be21b2 (diff)
downloadgcc-4287b5f14d48722a024645292ba295d485973665.zip
gcc-4287b5f14d48722a024645292ba295d485973665.tar.gz
gcc-4287b5f14d48722a024645292ba295d485973665.tar.bz2
lib1funcs.asm (__divsi3): Use .s1 for frcpa.
* config/ia64/lib1funcs.asm (__divsi3): Use .s1 for frcpa. (__modsi3, __umodsi3): Likewise. (__udivsi3): Likewise. Normalize the TFmode values. From-SVN: r36261
Diffstat (limited to 'gcc/config/ia64')
-rw-r--r--gcc/config/ia64/lib1funcs.asm11
1 files changed, 7 insertions, 4 deletions
diff --git a/gcc/config/ia64/lib1funcs.asm b/gcc/config/ia64/lib1funcs.asm
index 8ce6fb0..5e1b8fc 100644
--- a/gcc/config/ia64/lib1funcs.asm
+++ b/gcc/config/ia64/lib1funcs.asm
@@ -349,7 +349,7 @@ __divsi3:
fcvt.xf f9 = f9
;;
setf.exp f11 = r2
- frcpa f10, p6 = f8, f9
+ frcpa.s1 f10, p6 = f8, f9
;;
(p6) fmpy.s1 f8 = f8, f10
(p6) fnma.s1 f9 = f9, f10, f1
@@ -393,7 +393,7 @@ __modsi3:
fcvt.xf f9 = f9
;;
setf.exp f11 = r2
- frcpa f10, p6 = f8, f9
+ frcpa.s1 f10, p6 = f8, f9
;;
(p6) fmpy.s1 f12 = f8, f10
(p6) fnma.s1 f10 = f9, f10, f1
@@ -435,8 +435,11 @@ __udivsi3:
setf.sig f8 = in0
setf.sig f9 = in1
;;
+ fcvt.xf f8 = f8
+ fcvt.xf f9 = f9
+ ;;
setf.exp f11 = r2
- frcpa f10, p6 = f8, f9
+ frcpa.s1 f10, p6 = f8, f9
;;
(p6) fmpy.s1 f8 = f8, f10
(p6) fnma.s1 f9 = f9, f10, f1
@@ -480,7 +483,7 @@ __umodsi3:
fcvt.xf f9 = f9
;;
setf.exp f11 = r2
- frcpa f10, p6 = f8, f9
+ frcpa.s1 f10, p6 = f8, f9
;;
(p6) fmpy.s1 f12 = f8, f10
(p6) fnma.s1 f10 = f9, f10, f1