Mercurial > hg > CbC > CbC_gcc
diff gcc/config/rs6000/xfpu.md @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | a06113de4d67 |
children |
line wrap: on
line diff
--- a/gcc/config/rs6000/xfpu.md Sun Aug 21 07:07:55 2011 +0900 +++ b/gcc/config/rs6000/xfpu.md Fri Oct 27 22:46:09 2017 +0900 @@ -1,5 +1,5 @@ ;; Scheduling description for the Xilinx PowerPC 405 APU Floating Point Unit. -;; Copyright (C) 2008 Free Software Foundation, Inc. +;; Copyright (C) 2008-2017 Free Software Foundation, Inc. ;; Contributed by Michael Eager (eager@eagercon.com). ;; ;; This file is part of GCC. @@ -55,7 +55,7 @@ (define_insn_reservation "fp-default" 2 (and (and - (eq_attr "type" "fp") + (eq_attr "type" "fp,fpsimple") (eq_attr "fp_type" "fp_default")) (eq_attr "cpu" "ppc405")) "Xfpu_issue*2") @@ -67,14 +67,14 @@ (define_insn_reservation "fp-addsub-s" 14 (and (and - (eq_attr "type" "fp") + (eq_attr "type" "fp,fpsimple") (eq_attr "fp_type" "fp_addsub_s")) (eq_attr "cpu" "ppc405")) "Xfpu_issue*2,Xfpu_addsub") (define_insn_reservation "fp-addsub-d" 18 (and (and - (eq_attr "type" "fp") + (eq_attr "type" "fp,fpsimple") (eq_attr "fp_type" "fp_addsub_d")) (eq_attr "cpu" "ppc405")) "Xfpu_issue*2,Xfpu_addsub") @@ -118,12 +118,12 @@ "Xfpu_issue*2,Xfpu_mul,nothing*7,Xfpu_addsub") (define_insn_reservation "fp-load" 10 ;; FIXME. Is double/single precision the same ? - (and (eq_attr "type" "fpload, fpload_ux, fpload_u") + (and (eq_attr "type" "fpload") (eq_attr "cpu" "ppc405")) "Xfpu_issue*10") -(define_insn_reservation "fp-store" 4 - (and (eq_attr "type" "fpstore, fpstore_ux, fpstore_u") +(define_insn_reservation "fp-store" 4 + (and (eq_attr "type" "fpstore") (eq_attr "cpu" "ppc405")) "Xfpu_issue*4")