[arm] Update FP16 tests
authorRichard Sandiford <richard.sandiford@arm.com>
Thu, 26 Sep 2019 10:43:09 +0000 (10:43 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Thu, 26 Sep 2019 10:43:09 +0000 (10:43 +0000)
commit1275a541a59e4d74101bd34eb907ba6d5844f810
tree7d04736bd9cbaadc9f4af0c09b8f2b2c90ebdd0e
parente2b1923b8d1f81ac83b40095577e0c318d3716b3
[arm] Update FP16 tests

My recent assemble_real patch (r275873) meant that we now output
negative FP16 constants in the same way as we'd output an integer
subreg of them.  This patch updates gcc.target/arm/fp16-* accordingly.

2019-09-26  Richard Sandiford  <richard.sandiford@arm.com>

gcc/testsuite/
* gcc.target/arm/fp16-compile-alt-3.c: Expect (__fp16) -2.0
to be written as a negative short rather than a positive one.
* gcc.target/arm/fp16-compile-ieee-3.c: Likewise.

From-SVN: r276145
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/arm/fp16-compile-alt-3.c
gcc/testsuite/gcc.target/arm/fp16-compile-ieee-3.c