i386; Add .code16gcc fldenv tests

* testsuite/gas/i386/general.s: Add .code16gcc fldenv tests.
	* testsuite/gas/i386/general.l: Updated.
This commit is contained in:
H.J. Lu
2019-10-31 10:42:04 -07:00
parent 3d11e68e4b
commit f78d04905a
3 changed files with 20 additions and 2 deletions

View 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.

View File

@ -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

View File

@ -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