PR26610, ARM's "VFPv3 vldr to vmov" gas testcase fail
authorAlan Modra <amodra@gmail.com>
Tue, 15 Sep 2020 11:25:02 +0000 (20:55 +0930)
committerAlan Modra <amodra@gmail.com>
Tue, 15 Sep 2020 11:33:47 +0000 (21:03 +0930)
commit7e30b1ebbf2fcf5e6bcfc3a7791d9a52614dcc43
tree1d3a612bc1bf257438e7629fe6e5c925efa8befc
parent5b3eb5eda8ce658611c923dc69704b6f0cddbd2e
PR26610, ARM's "VFPv3 vldr to vmov" gas testcase fail

I removed a few too many parentheses in git commit 7af677524e2.  This
patch fixes that problem, rewriting the expression so it won't happen
again.  The patch also avoids more UB with shifts of signed values.

PR 26610
* config/tc-arm.c (move_or_literal_pool): Correct extraction of
bignum.  Use unsigned "v"
(is_double_a_single): Make "v" and "mantissa" unsigned.  Formatting.
(double_to_single): Likewise.
gas/ChangeLog
gas/config/tc-arm.c