diff options
author | eager <eager@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-03-03 17:34:50 +0000 |
---|---|---|
committer | eager <eager@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-03-03 17:34:50 +0000 |
commit | db38a06127c55b1ec81326208a9b305df73c17e6 (patch) | |
tree | ab7b0af8c6ebc318739b095e0cbb35ee1fe707eb /gcc/config/microblaze/microblaze.h | |
parent | 1d3a7eebb83c1bd1cba57373cb81f2fd5b155e58 (diff) | |
download | gcc-db38a06127c55b1ec81326208a9b305df73c17e6.tar.gz |
Support -mxl-reorder and swap instructions.
* config/microblaze/microblaze.c:
Check mcpu, pcmp requirement and set TARGET_REORDER to 0 if not met.
* config/microblaze/microblaze.h: Add -mxl-reorder to DRIVER_SELF_SPECS
* config/microblaze/microblaze.md: New bswapsi2 and bswaphi2
instructions emitted if TARGET_REORDER
* config/microblaze/microblaze.opt: New option -mxl-reorder set to 1
or 0 for -m/-mno case, but initialises as 2 to detect default use case
separately
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196415 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/microblaze/microblaze.h')
-rw-r--r-- | gcc/config/microblaze/microblaze.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/config/microblaze/microblaze.h b/gcc/config/microblaze/microblaze.h index a188a2eb113..23ed16e4f6c 100644 --- a/gcc/config/microblaze/microblaze.h +++ b/gcc/config/microblaze/microblaze.h @@ -78,6 +78,7 @@ extern enum pipeline_type microblaze_pipe; "%{mno-xl-barrel-shift:%<mxl-barrel-shift}", \ "%{mno-xl-pattern-compare:%<mxl-pattern-compare}", \ "%{mxl-soft-div:%<mno-xl-soft-div}", \ + "%{mxl-reorder:%<mno-xl-reorder}", \ "%{msoft-float:%<mhard-float}" /* Tell collect what flags to pass to nm. */ |