aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Law <law@gcc.gnu.org>1992-10-08 11:21:43 -0600
committerJeff Law <law@gcc.gnu.org>1992-10-08 11:21:43 -0600
commit742ba40c29679d6c6216ee5b70487b415fc717fb (patch)
treea0a359f38d20956ee9701ea7b9391da535fc5dbd
parent1396372010ab2c16ab5cae1f277ab97dc5239fe0 (diff)
downloadgcc-742ba40c29679d6c6216ee5b70487b415fc717fb.zip
gcc-742ba40c29679d6c6216ee5b70487b415fc717fb.tar.gz
gcc-742ba40c29679d6c6216ee5b70487b415fc717fb.tar.bz2
pa.md (fp_alu function unit, case fpcc): Fpcc instructions use the fpalu unit.
* pa.md (fp_alu function unit, case fpcc): Fpcc instructions use the fpalu unit. In the most common case their result will be used in a ftest instruction. Minimum distance between the fcmp and ftest instruction is 4. From-SVN: r2370
-rw-r--r--gcc/config/pa/pa.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/config/pa/pa.md b/gcc/config/pa/pa.md
index 14be0fc..1832f4c 100644
--- a/gcc/config/pa/pa.md
+++ b/gcc/config/pa/pa.md
@@ -123,6 +123,7 @@
;; fsqrt,sgl 14 MPY 14
;; fsqrt,dbl 18 MPY 18
+(define_function_unit "fp_alu" 1 0 (eq_attr "type" "fpcc") 4 2)
(define_function_unit "fp_alu" 1 0 (eq_attr "type" "fpalu") 3 2)
(define_function_unit "fp_mpy" 1 0 (eq_attr "type" "fpmul") 3 2)
(define_function_unit "fp_mpy" 1 0 (eq_attr "type" "fpdivsgl") 10 10)