From 7853f16f681daeadc4aa63ab327c8109a0f138c3 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Tue, 1 Sep 2009 23:59:10 +0000 Subject: [PATCH] 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. --- gas/testsuite/ChangeLog | 8 ++++++++ gas/testsuite/gas/i386/att-regs.d | 4 ++++ gas/testsuite/gas/i386/att-regs.s | 3 +++ gas/testsuite/gas/i386/intel-regs.d | 4 ++++ gas/testsuite/gas/i386/intel-regs.s | 3 +++ 5 files changed, 22 insertions(+) diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 03738f5cd8..39e6bc9880 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,5 +1,13 @@ 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. 2009-09-01 Jie Zhang diff --git a/gas/testsuite/gas/i386/att-regs.d b/gas/testsuite/gas/i386/att-regs.d index 47908f8ea3..8b6c14fb0c 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 a297cc7548..1001824038 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 6c52deca03..97fc27ff76 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 7d527113ee..5aac956334 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 -- 2.11.0