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 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.


Segher


 gcc/config/rs6000/altivec.md |  81 ++++++----------
 gcc/config/rs6000/darwin.md  |  45 +++------
 gcc/config/rs6000/dfp.md     |   6 +-
 gcc/config/rs6000/htm.md     |  36 +++----
 gcc/config/rs6000/rs6000.md  | 223 +++++++++++++++----------------------------
 gcc/config/rs6000/sync.md    |   6 +-
 gcc/config/rs6000/vsx.md     |   3 +-
 7 files changed, 134 insertions(+), 266 deletions(-)

-- 
1.8.3.1


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