[PATCH 5/17][ARM] Enable HI mode moves for floating point values.
authorMatthew Wahab <mwahab@gcc.gnu.org>
Fri, 23 Sep 2016 09:15:24 +0000 (09:15 +0000)
committerMatthew Wahab <mwahab@gcc.gnu.org>
Fri, 23 Sep 2016 09:15:24 +0000 (09:15 +0000)
commit50df9464b86a58d5c959b10c33c1870c0c4c5e48
tree582fdcac750944cd89464792e4717977ea423288
parent536b9f42cef7c74e3c92e5eaeb12b8514582907c
[PATCH 5/17][ARM] Enable HI mode moves for floating point values.

gcc/
2016-09-23  Jiong Wang  <jiong.wang@arm.com>
    Matthew Wahab  <matthew.wahab@arm.com>

* config/arm/arm.c (output_move_vfp): Weaken assert to allow
HImode.
(arm_hard_regno_mode_ok): Allow HImode values in VFP registers.
* config/arm/arm.md (*movhi_bytes): Disable when VFP registers are
available.  Also fix some white-space.
* config/arm/vfp.md (*arm_movhi_vfp): New.
(*thumb2_movhi_vfp): New.

testsuite/
2016-09-23  Matthew Wahab  <matthew.wahab@arm.com>

* gcc.target/arm/short-vfp-1.c: New.

From-SVN: r240403
gcc/ChangeLog
gcc/config/arm/arm.c
gcc/config/arm/arm.md
gcc/config/arm/vfp.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/arm/short-vfp-1.c [new file with mode: 0644]