diff options
author | Nick Clifton <nickc@redhat.com> | 2018-07-13 11:44:49 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2018-07-13 11:44:49 +0100 |
commit | 524496887011b46736f4c5865a5faedd46be6f54 (patch) | |
tree | e9a8d866c41224ba7daa862ecbef33fea2a3a256 /gas/testsuite/gas/arm/vfp-mov-enc.d | |
parent | 65cc93d2fbcf570bf6459e292c2d55727ca64905 (diff) |
Allow bit-patterns in the immediate field of ARM neon mov instructions.
* config/tc-arm.c (do_neon_mov): When converting an integer
immediate into a floating point value, check that the conversion
is valid. Also warn if the immediate is valid as both a floating
point value and a bit pattern.
* testsuite/gas/arm/vfp-mov-enc.s: Add instructions that use
floating point bit patterns.
* testsuite/gas/arm/vfp-mov-enc.d: Add regexps for the disassembly
of the new insns.
Diffstat (limited to 'gas/testsuite/gas/arm/vfp-mov-enc.d')
-rw-r--r-- | gas/testsuite/gas/arm/vfp-mov-enc.d | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gas/testsuite/gas/arm/vfp-mov-enc.d b/gas/testsuite/gas/arm/vfp-mov-enc.d index 5c4b266e8a..fda47f2b43 100644 --- a/gas/testsuite/gas/arm/vfp-mov-enc.d +++ b/gas/testsuite/gas/arm/vfp-mov-enc.d @@ -11,3 +11,6 @@ Disassembly of section .text: 0[0-9a-f]+ <[^>]+> 4ef7da00 vmovmi.f32 s27, #112 ; 0x3f800000 1.0 0[0-9a-f]+ <[^>]+> cebb1b04 vmovgt.f64 d1, #180 ; 0xc1a00000 -20.0 0[0-9a-f]+ <[^>]+> ceb81b00 vmovgt.f64 d1, #128 ; 0xc0000000 -2.0 +0[0-9a-f]+ <[^>]+> eef0aa00 vmov.f32 s21, #0 ; 0x40000000 2.0 +0[0-9a-f]+ <[^>]+> eef97a07 vmov.f32 s15, #151 ; 0xc0b80000 -5.750 +0[0-9a-f]+ <[^>]+> eefc4a05 vmov.f32 s9, #197 ; 0xbe280000 -0.1640625 |