[PATCH][AARCH64]Fix immediate alternative of movhf_aarch64 pattern.
authorRenlin Li <renlin.li@arm.com>
Mon, 12 Mar 2018 19:49:24 +0000 (19:49 +0000)
committerRenlin Li <renlin@gcc.gnu.org>
Mon, 12 Mar 2018 19:49:24 +0000 (19:49 +0000)
commit980902fba6f2aa3f2dc018d116d71d3c2ff88338
tree40e1c052d41801444bb3d3b6bd5ab4f738f848b3
parente9b9fa4cdaedd40ab429c0c98e8801ae039a33e9
[PATCH][AARCH64]Fix immediate alternative of movhf_aarch64 pattern.

gcc/

2018-03-12  Renlin Li  <renlin.li@arm.com>

    * config/aarch64/aarch64.md (movhf_aarch64): Fix mode argument to
    aarch64_output_scalar_simd_mov_immediate.

gcc/testsuite/

2018-03-12  Renlin Li  <renlin.li@arm.com>

    * gcc.target/aarch64/movi_hf.c: New.
    * gcc.target/aarch64/f16_mov_immediate_1.c: Update.
    * gcc.target/aarch64/f16_mov_immediate_2.c: Update.

From-SVN: r258459
gcc/ChangeLog
gcc/config/aarch64/aarch64.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/aarch64/f16_mov_immediate_1.c
gcc/testsuite/gcc.target/aarch64/f16_mov_immediate_2.c
gcc/testsuite/gcc.target/aarch64/movi_hf.c [new file with mode: 0644]