This is the mail archive of the 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 0/4] rs6000: length attribute

This series makes some changes to the length attribute.

Currently, the length attribute for branch instructions defaults to
what is needed for B-form instructions, that is, branches with an
immediate 16-bit displacement field.  There is only one such machine
insn, and only three such RTL patterns.

This series moves this treatment to those few patterns, and defaults
branch instructions to length 4 bytes (like all other instructions).

It then deletes many instances where we explicitly set the attribute
to the default value.

It also deletes a few related patterns that are not useful anymore.

Bootstrapped and tested on powerpc64-linux; will also test on
powerpc64le-linux before committing.


 gcc/config/rs6000/ |  81 ++++++----------
 gcc/config/rs6000/  |  45 +++------
 gcc/config/rs6000/     |   6 +-
 gcc/config/rs6000/     |  36 +++----
 gcc/config/rs6000/  | 223 +++++++++++++++----------------------------
 gcc/config/rs6000/    |   6 +-
 gcc/config/rs6000/     |   3 +-
 7 files changed, 134 insertions(+), 266 deletions(-)


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