diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2019-10-31 10:42:04 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2019-10-31 10:42:04 -0700 |
commit | f78d04905a457abde48c8f521ec2303e84683100 (patch) | |
tree | 0689590c531499a167fcab277b82f28c392f1576 /gas/testsuite | |
parent | 3d11e68e4b0a557bf2f2fdaad188667215ec5aaa (diff) | |
download | gdb-f78d04905a457abde48c8f521ec2303e84683100.zip gdb-f78d04905a457abde48c8f521ec2303e84683100.tar.gz gdb-f78d04905a457abde48c8f521ec2303e84683100.tar.bz2 |
i386; Add .code16gcc fldenv tests
* testsuite/gas/i386/general.s: Add .code16gcc fldenv tests.
* testsuite/gas/i386/general.l: Updated.
Diffstat (limited to 'gas/testsuite')
-rw-r--r-- | gas/testsuite/gas/i386/general.l | 11 | ||||
-rw-r--r-- | gas/testsuite/gas/i386/general.s | 6 |
2 files changed, 15 insertions, 2 deletions
diff --git a/gas/testsuite/gas/i386/general.l b/gas/testsuite/gas/i386/general.l index 17bf88f..ac17096 100644 --- a/gas/testsuite/gas/i386/general.l +++ b/gas/testsuite/gas/i386/general.l @@ -282,5 +282,12 @@ 216 0226 660FB6F8 movzb %al,%di 217 022a 0FB6C8 movzb %al,%ecx 218 - 219 # Force a good alignment. - 220 022d 000000 .p2align 4,0 + 219 .code16gcc + 220 # Use 16-bit layout by default for fldenv. + 221 022d 67D920 fldenv \(%eax\) + 222 0230 67D920 fldenvs \(%eax\) + 223 0233 6766D920 fldenvl \(%eax\) + 224 + 225 # Force a good alignment. + 226 0237 00000000 00000000 .p2align 4,0 + 226 00 diff --git a/gas/testsuite/gas/i386/general.s b/gas/testsuite/gas/i386/general.s index a0ea660..e4b2530 100644 --- a/gas/testsuite/gas/i386/general.s +++ b/gas/testsuite/gas/i386/general.s @@ -216,5 +216,11 @@ movzb %al,%di movzb %al,%ecx +.code16gcc +# Use 16-bit layout by default for fldenv. + fldenv (%eax) + fldenvs (%eax) + fldenvl (%eax) + # Force a good alignment. .p2align 4,0 |