x86-64 test patch

Bo Thorsen bo@sonofthor.dk
Fri Feb 22 09:25:00 GMT 2002


Hi all,

This adds some gas testing for x86-64. It needs a small patch that Andreas or 
Jan will commit soon.

2002-02-22  Bo Thorsen  <bo@suse.de>

	* i386.exp: Add x86-64-opcode (checks valid opcodes) and x86-64-inval
	(checks invalid opcodes) checks
	* x86-64-inval.l: New file.
	* x86-64-inval.s: New file.
	* x86-64-opcode.d: New file.
	* x86-64-opcode.s: New file.

Index: i386.exp
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/i386/i386.exp,v
retrieving revision 1.12
diff -c -u -r1.12 i386.exp
cvs server: conflicting specifications of output style
--- i386.exp    2001/09/30 04:09:35     1.12
+++ i386.exp    2002/02/22 11:02:48
@@ -87,6 +87,8 @@
     set ASFLAGS "$ASFLAGS --64"

     run_dump_test "x86_64"
+    run_dump_test "x86-64-opcode"
+    run_list_test "x86-64-inval" "-al"

     set ASFLAGS "$old_ASFLAGS"
 }

The four files are attached, since I don't have write access=>no cvs add;cvs 
diff. The tests pass 

Bo.

-- 

     Bo Thorsen                 |   Praestevejen 4
     Free software developer    |   5290 Marslev
     SuSE Labs                  |   Denmark


-------------- next part --------------
A non-text attachment was scrubbed...
Name: x86-64-opcode.s
Type: application/x-troff
Size: 30429 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20020222/403ecdc8/attachment.tr>
-------------- next part --------------
#as: -J
#objdump: -drw
#name: x86-64 opcode

.*: +file format elf64-x86-64

Disassembly of section .text:

0+000 <.text>:
[	 ]*0:[	 ]+41 ff 10[	 ]+callq[	 ]+\*\(%r8\)[	 ]*(#.*)*
[	 ]*3:[	 ]+ff 10[	 ]+callq[	 ]+\*\(%rax\)[	 ]*(#.*)*
[	 ]*5:[	 ]+41 ff 10[	 ]+callq[	 ]+\*\(%r8\)[	 ]*(#.*)*
[	 ]*8:[	 ]+ff 10[	 ]+callq[	 ]+\*\(%rax\)[	 ]*(#.*)*
[	 ]*a:[	 ]+cb[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]*403:[	 ]+41 0f 01 38[	 ]+invlpg[	 ]+\(%r8\)[	 ]*(#.*)*
[	 ]*407:[	 ]+0f 01 38[	 ]+invlpg[	 ]+\(%rax\)[	 ]*(#.*)*
[	 ]*40a:[	 ]+0f 00 c0[	 ]+sldt[	 ]+%eax[	 ]*(#.*)*
[	 ]*40d:[	 ]+e6 00[	 ]+out[	 ]+%al,\$0[x0]*[	 ]*(#.*)*
[	 ]*40f:[	 ]+66 e7 00[	 ]+out[	 ]+%ax,\$0[x0]*[	 ]*(#.*)*
[	 ]*412:[	 ]+e7 00[	 ]+out[	 ]+%eax,\$0[x0]*[	 ]*(#.*)*
-------------- next part --------------
	.text
# All the following should be illegal for x86-64
	calll *%eax	# 32-bit data size not allowed
        calll *(%ax)	# 32-bit data size not allowed
        calll *(%eax)	# 32-bit data size not allowed
        calll *(%r8)	# 32-bit data size not allowed
        calll *(%rax)	# 32-bit data size not allowed
        callq *(%ax)	# 32-bit data size not allowed
        callw *(%ax)	# no 16-bit addressing
foo:	jcxz foo	# No prefix exists to select CX as a counter
        popl %eax	# can't have 32-bit stack operands
        pushl %eax	# can't have 32-bit stack operands
        pushfl		# can't have 32-bit stack operands
	popfl		# can't have 32-bit stack operands
-------------- next part --------------
.*: Assembler messages:
.*:3: Error: .*
.*:4: Error: .*
.*:5: Error: .*
.*:6: Error: .*
.*:7: Error: .*
.*:8: Error: .*
.*:9: Error: .*
.*:10: Error: .*
.*:11: Error: .*
.*:12: Error: .*
.*:13: Error: .*
.*:14: Error: .*
GAS LISTING .*


   1 [ 	]*	.text
   2 [ 	]*# All the following should be illegal for x86-64
   3 [ 	]*calll \*%eax	# 32-bit data size not allowed
   4 [ 	]*calll \*\(%ax\)	# 32-bit data size not allowed
   5 [ 	]*calll \*\(%eax\)	# 32-bit data size not allowed
   6 [ 	]*calll \*\(%r8\)	# 32-bit data size not allowed
   7 [ 	]*calll \*\(%rax\)	# 32-bit data size not allowed
   8 [ 	]*callq \*\(%ax\)	# 32-bit data size not allowed
   9 [ 	]*callw \*\(%ax\)	# no 16-bit addressing
  10 [ 	]*foo:[ 	]*jcxz foo	# No prefix exists to select CX as a counter
  11 [ 	]*popl %eax	# can\'t have 32-bit stack operands
  12 [ 	]*pushl %eax	# can\'t have 32-bit stack operands
  13 [ 	]*pushfl		# can\'t have 32-bit stack operands
  14 [ 	]*popfl		# can\'t have 32-bit stack operands


More information about the Binutils mailing list