diff options
Diffstat (limited to 'gcc/config/rs6000/power8.md')
| -rw-r--r-- | gcc/config/rs6000/power8.md | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/config/rs6000/power8.md b/gcc/config/rs6000/power8.md index 2d50d4a..b2eeac4 100644 --- a/gcc/config/rs6000/power8.md +++ b/gcc/config/rs6000/power8.md @@ -169,7 +169,7 @@ ; FX Unit (define_insn_reservation "power8-1cyc" 1 (and (ior (eq_attr "type" "integer,insert,trap,exts,isel") - (and (eq_attr "type" "shift") + (and (eq_attr "type" "add,shift") (eq_attr "dot" "no"))) (eq_attr "cpu" "power8")) "DU_any_power8,FXU_power8") @@ -207,7 +207,9 @@ ; fast_compare : add./and./nor./etc (define_insn_reservation "power8-fast-compare" 2 - (and (eq_attr "type" "fast_compare") + (and (ior (eq_attr "type" "fast_compare") + (and (eq_attr "type" "add") + (eq_attr "dot" "yes"))) (eq_attr "cpu" "power8")) "DU_any_power8,FXU_power8") |
