From: H.J. Lu Date: Tue, 1 Sep 2009 23:59:10 +0000 (+0000) Subject: 2009-09-01 H.J. Lu X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8114936d8e732bb502a7f7e550ba3e5162cadf12;p=binutils-gdb.git 2009-09-01 H.J. Lu * gas/i386/att-regs.s: Add ymm tests for 16bit and 64bit. * gas/i386/intel-regs.s: Likewise. * gas/i386/att-regs.d: Updated. * gas/i386/intel-regs.d: Likewise. --- diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 03738f5cd85..39e6bc9880f 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,11 @@ +2009-09-01 H.J. Lu + + * gas/i386/att-regs.s: Add ymm tests for 16bit and 64bit. + * gas/i386/intel-regs.s: Likewise. + + * gas/i386/att-regs.d: Updated. + * gas/i386/intel-regs.d: Likewise. + 2009-09-01 H.J. Lu * gas/i386/att-regs.s: Remove a tab. diff --git a/gas/testsuite/gas/i386/att-regs.d b/gas/testsuite/gas/i386/att-regs.d index 47908f8ea3f..8b6c14fb0cc 100644 --- a/gas/testsuite/gas/i386/att-regs.d +++ b/gas/testsuite/gas/i386/att-regs.d @@ -19,6 +19,7 @@ Disassembly of section \.text: .*[ ]+R_386_16[ ]+tr0 .*[ ]+R_386_16[ ]+mm0 .*[ ]+R_386_16[ ]+xmm0 +.*[ ]+R_386_16[ ]+ymm0 .*[ ]+R_386_32[ ]+rax .*[ ]+R_386_32[ ]+axl .*[ ]+R_386_32[ ]+r8b @@ -44,4 +45,7 @@ Disassembly of section \.text: .*:[ ]+89 c0[ ]+mov[ ]+%eax,%eax .*:[ ]+4c[ ]+dec %esp .*:[ ]+89 c0[ ]+mov[ ]+%eax,%eax + +.* : +.*[ ]+ #pass diff --git a/gas/testsuite/gas/i386/att-regs.s b/gas/testsuite/gas/i386/att-regs.s index a297cc7548d..10018240381 100644 --- a/gas/testsuite/gas/i386/att-regs.s +++ b/gas/testsuite/gas/i386/att-regs.s @@ -17,6 +17,7 @@ mov tr0, ax ; add al, (bx,si) mov mm0, ax ; add al, (bx,si) mov xmm0, ax ; add al, (bx,si) + mov ymm0, ax ; add al, (bx,si) .arch generic32 .code32 @@ -52,3 +53,5 @@ mov r8w, ax mov r8d, eax mov r8, rax +ymm8: + jmp ymm8 diff --git a/gas/testsuite/gas/i386/intel-regs.d b/gas/testsuite/gas/i386/intel-regs.d index 6c52deca033..97fc27ff762 100644 --- a/gas/testsuite/gas/i386/intel-regs.d +++ b/gas/testsuite/gas/i386/intel-regs.d @@ -19,6 +19,7 @@ Disassembly of section \.text: .*[ ]+R_386_16[ ]+tr0 .*[ ]+R_386_16[ ]+mm0 .*[ ]+R_386_16[ ]+xmm0 +.*[ ]+R_386_16[ ]+ymm0 .*[ ]+R_386_32[ ]+rax .*[ ]+R_386_32[ ]+axl .*[ ]+R_386_32[ ]+r8b @@ -44,4 +45,7 @@ Disassembly of section \.text: .*:[ ]+89 c0[ ]+mov[ ]+%eax,%eax .*:[ ]+4c[ ]+dec %esp .*:[ ]+89 c0[ ]+mov[ ]+%eax,%eax + +.* : +.*[ ]+ #pass diff --git a/gas/testsuite/gas/i386/intel-regs.s b/gas/testsuite/gas/i386/intel-regs.s index 7d527113eea..5aac9563346 100644 --- a/gas/testsuite/gas/i386/intel-regs.s +++ b/gas/testsuite/gas/i386/intel-regs.s @@ -17,6 +17,7 @@ mov ax, tr0 ; add [bx+si], al mov ax, mm0 ; add [bx+si], al mov ax, xmm0 ; add [bx+si], al + mov ax, ymm0 ; add [bx+si], al .arch generic32 .code32 @@ -52,3 +53,5 @@ mov ax, r8w mov eax, r8d mov rax, r8 +ymm8: + jmp ymm8