This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Patch improving readability of ppc8540 dfa description.


  The following patch does not change final automata for 8540.md but it
improves readability of the description with my point of view.

I've committed it as obvious.

2003-03-27  Vladimir Makarov  <vmakarov at redhat dot com>

        * config/rs6000/8540.md: Use presence_set instead of
absence_set.
Index: config/rs6000/8540.md
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/rs6000/8540.md,v
retrieving revision 1.1
diff -c -p -r1.1 8540.md
*** config/rs6000/8540.md	26 Mar 2003 16:24:54 -0000	1.1
--- config/rs6000/8540.md	27 Mar 2003 15:08:27 -0000
***************
*** 55,80 ****
  (define_cpu_unit "ppc8540_lsu" "ppc8540_most")
  
  ;; The following units are used to make automata deterministic
! (define_cpu_unit "absent_ppc8540_decode_0" "ppc8540_most")
! (define_cpu_unit "absent_ppc8540_issue_0" "ppc8540_most")
! (define_cpu_unit "absent_ppc8540_retire_0" "ppc8540_retire")
! (define_cpu_unit "absent_ppc8540_siu0_stage0" "ppc8540_most")
  
  ;; The following sets to make automata deterministic when option ndfa is used.
! (absence_set "absent_ppc8540_decode_0" "ppc8540_decode_0")
! (absence_set "absent_ppc8540_issue_0" "ppc8540_issue_0")
! (absence_set "absent_ppc8540_retire_0" "ppc8540_retire_0")
! (absence_set "absent_ppc8540_siu0_stage0" "ppc8540_siu0_stage0")
  
  ;; Some useful abbreviations.
  (define_reservation "ppc8540_decode"
!     "ppc8540_decode_0|ppc8540_decode_1+absent_ppc8540_decode_0")
  (define_reservation "ppc8540_issue"
!     "ppc8540_issue_0|ppc8540_issue_1+absent_ppc8540_issue_0")
  (define_reservation "ppc8540_retire"
!    "ppc8540_retire_0|ppc8540_retire_1+absent_ppc8540_retire_0")
  (define_reservation "ppc8540_siu_stage0"
!    "ppc8540_siu0_stage0|ppc8540_siu1_stage0+absent_ppc8540_siu0_stage0")
  
  ;; Simple SIU insns
  (define_insn_reservation "ppc8540_siu" 1
--- 55,80 ----
  (define_cpu_unit "ppc8540_lsu" "ppc8540_most")
  
  ;; The following units are used to make automata deterministic
! (define_cpu_unit "present_ppc8540_decode_0" "ppc8540_most")
! (define_cpu_unit "present_ppc8540_issue_0" "ppc8540_most")
! (define_cpu_unit "present_ppc8540_retire_0" "ppc8540_retire")
! (define_cpu_unit "present_ppc8540_siu0_stage0" "ppc8540_most")
  
  ;; The following sets to make automata deterministic when option ndfa is used.
! (presence_set "present_ppc8540_decode_0" "ppc8540_decode_0")
! (presence_set "present_ppc8540_issue_0" "ppc8540_issue_0")
! (presence_set "present_ppc8540_retire_0" "ppc8540_retire_0")
! (presence_set "present_ppc8540_siu0_stage0" "ppc8540_siu0_stage0")
  
  ;; Some useful abbreviations.
  (define_reservation "ppc8540_decode"
!     "ppc8540_decode_0|ppc8540_decode_1+present_ppc8540_decode_0")
  (define_reservation "ppc8540_issue"
!     "ppc8540_issue_0|ppc8540_issue_1+present_ppc8540_issue_0")
  (define_reservation "ppc8540_retire"
!    "ppc8540_retire_0|ppc8540_retire_1+present_ppc8540_retire_0")
  (define_reservation "ppc8540_siu_stage0"
!    "ppc8540_siu0_stage0|ppc8540_siu1_stage0+present_ppc8540_siu0_stage0")
  
  ;; Simple SIU insns
  (define_insn_reservation "ppc8540_siu" 1

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]