Support -mxl-reorder and swap instructions.
authorDavid Holsgrove <david.holsgrove@xilinx.com>
Sun, 3 Mar 2013 17:34:50 +0000 (17:34 +0000)
committerMichael Eager <eager@gcc.gnu.org>
Sun, 3 Mar 2013 17:34:50 +0000 (17:34 +0000)
commitcb8a1637a9914fb25bfbc9604fc20ca5e6c0601e
treeab7b0af8c6ebc318739b095e0cbb35ee1fe707eb
parentab68a73ede62fbcbb3abd07879838ebe81fdd484
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

From-SVN: r196415
gcc/ChangeLog
gcc/config/microblaze/microblaze.c
gcc/config/microblaze/microblaze.h
gcc/config/microblaze/microblaze.md
gcc/config/microblaze/microblaze.opt