comparison gcc/config/rs6000/power4.md @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents 04ced10e8804
children 1830386684a0
comparison
equal deleted inserted replaced
111:04ced10e8804 131:84e7813d76e9
1 ;; Scheduling description for IBM Power4 and PowerPC 970 processors. 1 ;; Scheduling description for IBM Power4 and PowerPC 970 processors.
2 ;; Copyright (C) 2003-2017 Free Software Foundation, Inc. 2 ;; Copyright (C) 2003-2018 Free Software Foundation, Inc.
3 ;; 3 ;;
4 ;; This file is part of GCC. 4 ;; This file is part of GCC.
5 ;; 5 ;;
6 ;; GCC is free software; you can redistribute it and/or modify it 6 ;; GCC is free software; you can redistribute it and/or modify it
7 ;; under the terms of the GNU General Public License as published 7 ;; under the terms of the GNU General Public License as published
349 349
350 350
351 ; Condition Register logical ops are split if non-destructive (RT != RB) 351 ; Condition Register logical ops are split if non-destructive (RT != RB)
352 (define_insn_reservation "power4-crlogical" 2 352 (define_insn_reservation "power4-crlogical" 2
353 (and (eq_attr "type" "cr_logical") 353 (and (eq_attr "type" "cr_logical")
354 (eq_attr "cr_logical_3op" "no")
354 (eq_attr "cpu" "power4")) 355 (eq_attr "cpu" "power4"))
355 "du1_power4,cru_power4") 356 "du1_power4,cru_power4")
356 357
357 (define_insn_reservation "power4-delayedcr" 4 358 (define_insn_reservation "power4-delayedcr" 4
358 (and (eq_attr "type" "delayed_cr") 359 (and (eq_attr "type" "cr_logical")
360 (eq_attr "cr_logical_3op" "yes")
359 (eq_attr "cpu" "power4")) 361 (eq_attr "cpu" "power4"))
360 "du1_power4+du2_power4,cru_power4,cru_power4") 362 "du1_power4+du2_power4,cru_power4,cru_power4")
361 363
362 ; 4 mfcrf (each 3 cyc, 1/cyc) + 3 fxu 364 ; 4 mfcrf (each 3 cyc, 1/cyc) + 3 fxu
363 (define_insn_reservation "power4-mfcr" 6 365 (define_insn_reservation "power4-mfcr" 6