i386; Add .code16gcc fldenv tests
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 31 Oct 2019 17:42:04 +0000 (10:42 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 31 Oct 2019 17:42:04 +0000 (10:42 -0700)
* testsuite/gas/i386/general.s: Add .code16gcc fldenv tests.
* testsuite/gas/i386/general.l: Updated.

gas/ChangeLog
gas/testsuite/gas/i386/general.l
gas/testsuite/gas/i386/general.s

index 25a504b37489576891a3a0db9755c856a3678985..fc99adce7f3b5638a81c03b95bb7c48f5c6b57e5 100644 (file)
@@ -1,3 +1,8 @@
+2019-10-31  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * testsuite/gas/i386/general.s: Add .code16gcc fldenv tests.
+       * testsuite/gas/i386/general.l: Updated.
+
 2019-10-31  Mihail Ionescu  <mihail.ionescu@arm.com>
 
        * config/tc-arm.c (selected_ctx_ext_table) New static variable.
index 17bf88f12d508200a4e0c9dc23e818b6dfc8d7cf..ac170960207acca4f0445cf1019510890933daa7 100644 (file)
  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
index a0ea660842a366d96d392538e5cad516448a4d80..e4b2530e0d17928fabfaf9939156cc26b365d068 100644 (file)
        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
This page took 0.02896 seconds and 4 git commands to generate.