diff options
author | Roland McGrath <roland@gnu.org> | 2012-07-02 18:12:28 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2012-07-02 18:12:28 +0000 |
commit | 9fa0f14a97f5588268828ab028464be0307f1a77 (patch) | |
tree | 56a88d3baafc16ae76870bf634434401c387c31a /gas/testsuite | |
parent | ff4a45007a9d0e7b52337c7f36942c133b699079 (diff) | |
download | gdb-9fa0f14a97f5588268828ab028464be0307f1a77.zip gdb-9fa0f14a97f5588268828ab028464be0307f1a77.tar.gz gdb-9fa0f14a97f5588268828ab028464be0307f1a77.tar.bz2 |
gas/testsuite/
* gas/i386/rep-suffix.s: Add 'rep nop' case.
* gas/i386/x86-64-rep-suffix.s: Likewise.
* gas/i386/rep-suffix.d: Updated.
* gas/i386/x86-64-rep-suffix.d: Likewise.
* gas/i386/ilp32/x86-64-rep-suffix.d: Likewise.
opcodes/
* i386-opc.tbl: Add RepPrefixOk to nop.
* i386-tbl.h: Regenerate.
Diffstat (limited to 'gas/testsuite')
-rw-r--r-- | gas/testsuite/ChangeLog | 8 | ||||
-rw-r--r-- | gas/testsuite/gas/i386/ilp32/x86-64-rep-suffix.d | 3 | ||||
-rw-r--r-- | gas/testsuite/gas/i386/rep-suffix.d | 3 | ||||
-rw-r--r-- | gas/testsuite/gas/i386/rep-suffix.s | 2 | ||||
-rw-r--r-- | gas/testsuite/gas/i386/x86-64-rep-suffix.d | 3 | ||||
-rw-r--r-- | gas/testsuite/gas/i386/x86-64-rep-suffix.s | 2 |
6 files changed, 18 insertions, 3 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 5b4745c..a55d25e 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,11 @@ +2012-07-02 Roland McGrath <mcgrathr@google.com> + + * gas/i386/rep-suffix.s: Add 'rep nop' case. + * gas/i386/x86-64-rep-suffix.s: Likewise. + * gas/i386/rep-suffix.d: Updated. + * gas/i386/x86-64-rep-suffix.d: Likewise. + * gas/i386/ilp32/x86-64-rep-suffix.d: Likewise. + 2012-07-02 H.J. Lu <hongjiu.lu@intel.com> * gas/i386/i386.exp: Don't run rep-bsf nor rep-ret. diff --git a/gas/testsuite/gas/i386/ilp32/x86-64-rep-suffix.d b/gas/testsuite/gas/i386/ilp32/x86-64-rep-suffix.d index 241365d..19bb585 100644 --- a/gas/testsuite/gas/i386/ilp32/x86-64-rep-suffix.d +++ b/gas/testsuite/gas/i386/ilp32/x86-64-rep-suffix.d @@ -17,5 +17,6 @@ Disassembly of section .text: 11: f3 48 ab[ ]+rep stosq %rax,%es:\(%rdi\) 14: f3 0f bc c1[ ]+tzcntl %ecx,%eax 18: f3 0f bd c1[ ]+lzcntl %ecx,%eax - 1c: f3 c3[ ]+repz retq + 1c: f3 c3[ ]+repz retq\s* + 1e: f3 90[ ]+pause\s* #pass diff --git a/gas/testsuite/gas/i386/rep-suffix.d b/gas/testsuite/gas/i386/rep-suffix.d index 81f8d61..08e02d7 100644 --- a/gas/testsuite/gas/i386/rep-suffix.d +++ b/gas/testsuite/gas/i386/rep-suffix.d @@ -14,5 +14,6 @@ Disassembly of section .text: c: f3 ab[ ]+rep stosl %eax,%es:\(%edi\) e: f3 0f bc c1[ ]+tzcntl %ecx,%eax 12: f3 0f bd c1[ ]+lzcntl %ecx,%eax - 16: f3 c3[ ]+repz retl + 16: f3 c3[ ]+repz retl\s* + 18: f3 90[ ]+pause\s* #pass diff --git a/gas/testsuite/gas/i386/rep-suffix.s b/gas/testsuite/gas/i386/rep-suffix.s index 6f53663..12bdbd0 100644 --- a/gas/testsuite/gas/i386/rep-suffix.s +++ b/gas/testsuite/gas/i386/rep-suffix.s @@ -12,3 +12,5 @@ _start: rep bsr %ecx, %eax rep ret + + rep nop diff --git a/gas/testsuite/gas/i386/x86-64-rep-suffix.d b/gas/testsuite/gas/i386/x86-64-rep-suffix.d index 3c3f7ea..bc6346d 100644 --- a/gas/testsuite/gas/i386/x86-64-rep-suffix.d +++ b/gas/testsuite/gas/i386/x86-64-rep-suffix.d @@ -16,5 +16,6 @@ Disassembly of section .text: 11: f3 48 ab[ ]+rep stosq %rax,%es:\(%rdi\) 14: f3 0f bc c1[ ]+tzcntl %ecx,%eax 18: f3 0f bd c1[ ]+lzcntl %ecx,%eax - 1c: f3 c3[ ]+repz retq + 1c: f3 c3[ ]+repz retq\s* + 1e: f3 90[ ]+pause\s* #pass diff --git a/gas/testsuite/gas/i386/x86-64-rep-suffix.s b/gas/testsuite/gas/i386/x86-64-rep-suffix.s index 43d71cf..94df9e5 100644 --- a/gas/testsuite/gas/i386/x86-64-rep-suffix.s +++ b/gas/testsuite/gas/i386/x86-64-rep-suffix.s @@ -14,3 +14,5 @@ _start: rep bsr %ecx, %eax rep ret + + rep nop |