Fix tests to avoid cldemote encoding.
authorIgor Tsimbalist <igor.v.tsimbalist@intel.com>
Tue, 17 Apr 2018 11:57:34 +0000 (13:57 +0200)
committerIgor Tsimbalist <igor.v.tsimbalist@intel.com>
Tue, 17 Apr 2018 12:02:25 +0000 (14:02 +0200)
gas/
* testsuite/gas/i386/nops.s: Revert back deleted lines and
change encoding to 0x0f1c /1 to map to NOP.
* testsuite/gas/i386/x86-64-nops.s: Likewise.
* testsuite/gas/i386/nops.d: Likewise.
* testsuite/gas/i386/x86-64-nops.d: Likewise.
* testsuite/gas/i386/ilp32/x86-64-nops.d: Likewis.

gas/ChangeLog
gas/testsuite/gas/i386/ilp32/x86-64-nops.d
gas/testsuite/gas/i386/nops.d
gas/testsuite/gas/i386/nops.s
gas/testsuite/gas/i386/x86-64-nops.d
gas/testsuite/gas/i386/x86-64-nops.s

index ca54c4d..c16ea00 100644 (file)
@@ -1,5 +1,14 @@
 2018-04-17  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
 
+       * testsuite/gas/i386/nops.s: Revert back deleted lines and
+       change encoding to 0x0f1c /1 to map to NOP.
+       * testsuite/gas/i386/x86-64-nops.s: Likewise.
+       * testsuite/gas/i386/nops.d: Likewise.
+       * testsuite/gas/i386/x86-64-nops.d: Likewise.
+       * testsuite/gas/i386/ilp32/x86-64-nops.d: Likewis.
+
+2018-04-17  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
+
        * config/tc-i386.c (cpu_arch): Add .cldemote.
        * doc/c-i386.texi: Document cldemote/.cldemote.
        * testsuite/gas/i386/cldemote-intel.d: New.
index 5461611..a497115 100644 (file)
@@ -33,10 +33,12 @@ Disassembly of section .text:
 [      ]*[a-f0-9]+:    0f 1e 9c 1d 11 22 33 44         nopl   0x44332211\(%rbp,%rbx,1\)
 [      ]*[a-f0-9]+:    0f 1f 9c 1d 11 22 33 44         nopl   0x44332211\(%rbp,%rbx,1\)
 [      ]*[a-f0-9]+:    0f 19 04 60             nopl   \(%rax,%riz,2\)
+[      ]*[a-f0-9]+:    0f 1c 0c 60             nopl   \(%rax,%riz,2\)
 [      ]*[a-f0-9]+:    0f 1d 04 60             nopl   \(%rax,%riz,2\)
 [      ]*[a-f0-9]+:    0f 1e 04 60             nopl   \(%rax,%riz,2\)
 [      ]*[a-f0-9]+:    0f 1f 04 60             nopl   \(%rax,%riz,2\)
 [      ]*[a-f0-9]+:    0f 19 04 59             nopl   \(%rcx,%rbx,2\)
+[      ]*[a-f0-9]+:    0f 1c 0c 59             nopl   \(%rcx,%rbx,2\)
 [      ]*[a-f0-9]+:    0f 1d 04 59             nopl   \(%rcx,%rbx,2\)
 [      ]*[a-f0-9]+:    0f 1e 04 59             nopl   \(%rcx,%rbx,2\)
 [      ]*[a-f0-9]+:    0f 1f 04 59             nopl   \(%rcx,%rbx,2\)
index e6212e4..5275973 100644 (file)
@@ -32,10 +32,12 @@ Disassembly of section .text:
 [      ]*[a-f0-9]+:    0f 1e 9c 1d 11 22 33 44         nopl   0x44332211\(%ebp,%ebx,1\)
 [      ]*[a-f0-9]+:    0f 1f 9c 1d 11 22 33 44         nopl   0x44332211\(%ebp,%ebx,1\)
 [      ]*[a-f0-9]+:    0f 19 04 60             nopl   \(%eax,%eiz,2\)
+[      ]*[a-f0-9]+:    0f 1c 0c 60             nopl   \(%eax,%eiz,2\)
 [      ]*[a-f0-9]+:    0f 1d 04 60             nopl   \(%eax,%eiz,2\)
 [      ]*[a-f0-9]+:    0f 1e 04 60             nopl   \(%eax,%eiz,2\)
 [      ]*[a-f0-9]+:    0f 1f 04 60             nopl   \(%eax,%eiz,2\)
 [      ]*[a-f0-9]+:    0f 19 04 59             nopl   \(%ecx,%ebx,2\)
+[      ]*[a-f0-9]+:    0f 1c 0c 59             nopl   \(%ecx,%ebx,2\)
 [      ]*[a-f0-9]+:    0f 1d 04 59             nopl   \(%ecx,%ebx,2\)
 [      ]*[a-f0-9]+:    0f 1e 04 59             nopl   \(%ecx,%ebx,2\)
 [      ]*[a-f0-9]+:    0f 1f 04 59             nopl   \(%ecx,%ebx,2\)
index c75e8ce..a6177cc 100644 (file)
        .byte 0x0f, 0x1f, 0x9C, 0x1D, 0x11, 0x22, 0x33, 0x44
 
        .byte 0x0f, 0x19, 0x04, 0x60
-#      .byte 0x0f, 0x1c, 0x04, 0x60    Now it became cldemote (%eax,%eiz,2)
+       .byte 0x0f, 0x1c, 0x0c, 0x60
        .byte 0x0f, 0x1d, 0x04, 0x60
        .byte 0x0f, 0x1e, 0x04, 0x60
        .byte 0x0f, 0x1f, 0x04, 0x60
 
        .byte 0x0f, 0x19, 0x04, 0x59
-#      .byte 0x0f, 0x1c, 0x04, 0x59    Now it became cldemote (%eax,%ebx,2)
+       .byte 0x0f, 0x1c, 0x0c, 0x59
        .byte 0x0f, 0x1d, 0x04, 0x59
        .byte 0x0f, 0x1e, 0x04, 0x59
        .byte 0x0f, 0x1f, 0x04, 0x59
index 57091aa..8c6312d 100644 (file)
@@ -32,10 +32,12 @@ Disassembly of section .text:
 [      ]*[a-f0-9]+:    0f 1e 9c 1d 11 22 33 44         nopl   0x44332211\(%rbp,%rbx,1\)
 [      ]*[a-f0-9]+:    0f 1f 9c 1d 11 22 33 44         nopl   0x44332211\(%rbp,%rbx,1\)
 [      ]*[a-f0-9]+:    0f 19 04 60             nopl   \(%rax,%riz,2\)
+[      ]*[a-f0-9]+:    0f 1c 0c 60             nopl   \(%rax,%riz,2\)
 [      ]*[a-f0-9]+:    0f 1d 04 60             nopl   \(%rax,%riz,2\)
 [      ]*[a-f0-9]+:    0f 1e 04 60             nopl   \(%rax,%riz,2\)
 [      ]*[a-f0-9]+:    0f 1f 04 60             nopl   \(%rax,%riz,2\)
 [      ]*[a-f0-9]+:    0f 19 04 59             nopl   \(%rcx,%rbx,2\)
+[      ]*[a-f0-9]+:    0f 1c 0c 59             nopl   \(%rcx,%rbx,2\)
 [      ]*[a-f0-9]+:    0f 1d 04 59             nopl   \(%rcx,%rbx,2\)
 [      ]*[a-f0-9]+:    0f 1e 04 59             nopl   \(%rcx,%rbx,2\)
 [      ]*[a-f0-9]+:    0f 1f 04 59             nopl   \(%rcx,%rbx,2\)
index 57851ee..d954ed1 100644 (file)
        .byte 0x0f, 0x1f, 0x9C, 0x1D, 0x11, 0x22, 0x33, 0x44
 
        .byte 0x0f, 0x19, 0x04, 0x60
-#      .byte 0x0f, 0x1c, 0x04, 0x60    Now it became cldemote (%rcx,%riz,2)
+       .byte 0x0f, 0x1c, 0x0c, 0x60
        .byte 0x0f, 0x1d, 0x04, 0x60
        .byte 0x0f, 0x1e, 0x04, 0x60
        .byte 0x0f, 0x1f, 0x04, 0x60
 
        .byte 0x0f, 0x19, 0x04, 0x59
-#      .byte 0x0f, 0x1c, 0x04, 0x59    Now it became cldemote (%rcx,%rbx,2)
+       .byte 0x0f, 0x1c, 0x0c, 0x59
        .byte 0x0f, 0x1d, 0x04, 0x59
        .byte 0x0f, 0x1e, 0x04, 0x59
        .byte 0x0f, 0x1f, 0x04, 0x59