opcodes:
authorAndrew Pinski <apinski@cavium.com>
Thu, 8 Dec 2011 20:52:42 +0000 (20:52 +0000)
committerAndrew Pinski <apinski@cavium.com>
Thu, 8 Dec 2011 20:52:42 +0000 (20:52 +0000)
2011-12-08  Andrew Pinski  <apinski@cavium.com>

* mips-opc.c (mips_builtin_opcodes): Add "pause".
gas/testsuite:
2011-12-08  Andrew Pinski  <apinski@cavium.com>

        * gas/mips/mips32-mt.d: Add pause instruction encoding to the end.
        * gas/mips/micromips@mips32r2.d: Likewise.
        * gas/mips/mips32r2.d: Likewise.
        * gas/mips/mips32-mt.s: Add pause instruction to the end.
        * gas/mips/mips32r2.s: Likewise.

gas/testsuite/ChangeLog
gas/testsuite/gas/mips/micromips@mips32r2.d
gas/testsuite/gas/mips/mips32-mt.d
gas/testsuite/gas/mips/mips32-mt.s
gas/testsuite/gas/mips/mips32r2.d
gas/testsuite/gas/mips/mips32r2.s
opcodes/ChangeLog
opcodes/mips-opc.c

index 529679473188c67970ada86df7a2f417c30e6907..ad677ba31567d4d9dab5956eebf490b1488daf38 100644 (file)
@@ -1,3 +1,11 @@
+2011-12-08  Andrew Pinski  <apinski@cavium.com>
+
+       * gas/mips/mips32-mt.d: Add pause instruction encoding to the end.
+       * gas/mips/micromips@mips32r2.d: Likewise.
+       * gas/mips/mips32r2.d: Likewise.
+       * gas/mips/mips32-mt.s: Add pause instruction to the end.
+       * gas/mips/mips32r2.s: Likewise.
+
 2011-12-08  Andrew Pinski  <apinski@cavium.com>
             Adam Nemet  <anemet@caviumnetworks.com>
 
index c898e58d3b7649a4dfd6fab27c2a7f278aa131c1..3e0bf9c94086bbf862c1d0c364941ea50777d0d9 100644 (file)
@@ -41,4 +41,5 @@ Disassembly of section \.text:
 [0-9a-f]+ <[^>]*> 000a 577c    ei      \$10
 [0-9a-f]+ <[^>]*> 0159 e17c    rdpgpr  \$10,\$25
 [0-9a-f]+ <[^>]*> 0159 f17c    wrpgpr  \$10,\$25
+[0-9a-f]+ <[^>]*> 0000 2800    pause
        \.\.\.
index e1c4cf3f1036568b65cee848a06cd14175ce43db..f2807f9abf08e22b729974026f71591ce0331d25 100644 (file)
@@ -631,4 +631,5 @@ Disassembly of section .text:
 0+09b0 <[^>]*> 418d7035        mttr    t5,t6,1,5,1
 0+09b4 <[^>]*> 418d7036        mttr    t5,t6,1,6,1
 0+09b8 <[^>]*> 418d7037        mttr    t5,t6,1,7,1
+0+09bc <[^>]*> 00000140        pause
        \.\.\.
index 8363256c68346520f29b0d9a18b8627beee38ad8..9819cb1f0d0de918de23b848cfc99c3364a76217 100644 (file)
@@ -630,5 +630,7 @@ text_label:
        mttr            $13,$14,1,6,1
        mttr            $13,$14,1,7,1
 
+       pause
+
 # Force at least 8 (non-delay-slot) zero bytes, to make 'objdump' print ...
        .space  8
index 5d72709e98bf924934330c10b065d67bb95e4c18..0b04de62e78da0d71a85d2b300d136ae955c6b94 100644 (file)
@@ -40,4 +40,5 @@ Disassembly of section .text:
 0+0078 <[^>]*> 416a6020        ei      \$10
 0+007c <[^>]*> 41595000        rdpgpr  \$10,\$25
 0+0080 <[^>]*> 41d95000        wrpgpr  \$10,\$25
+0+0084 <[^>]*> 00000140        pause
        ...
index 8dc6a51b2da536accd5d4a9c2669de539fe6fa06..a91a8fc9964872815036bcb5b779a97329eee2db 100644 (file)
@@ -63,5 +63,7 @@ text_label:
 
        wrpgpr  $10, $25
 
+       pause
+
 # Force at least 8 (non-delay-slot) zero bytes, to make 'objdump' print ...
        .space  8
index 6f1ccbfa7b52d1a852541cc541efc0aa5c0bb174..2c835d517bc786a5a9a17a5ae243baae4df8b882 100644 (file)
@@ -1,3 +1,7 @@
+2011-12-08  Andrew Pinski  <apinski@cavium.com>
+
+       * mips-opc.c (mips_builtin_opcodes): Add "pause".
+
 2011-12-08  Andrew Pinski  <apinski@cavium.com>
             Adam Nemet  <anemet@caviumnetworks.com>
 
index ce92b120c299faae96599fcfc1d631de55059170..4083c1a6249fbe1cf9d9e873f22b49587e30df6b 100644 (file)
@@ -1189,6 +1189,7 @@ const struct mips_opcode mips_builtin_opcodes[] =
 {"ori",     "t,r,i",   0x34000000, 0xfc000000, WR_t|RD_s,              0,              I1      },
 {"pabsdiff.ob", "X,Y,Q",0x78000009, 0xfc20003f,        WR_D|RD_S|RD_T|FP_D,    0,              SB1     },
 {"pabsdiffc.ob", "Y,Q",        0x78000035, 0xfc2007ff, RD_S|RD_T|FP_D,         WR_MACC,        SB1     },
+{"pause",   "",                0x00000140, 0xffffffff, TRAP,                   0,              I33     },
 {"pavg.ob", "X,Y,Q",   0x78000008, 0xfc20003f, WR_D|RD_S|RD_T|FP_D,    0,              SB1     },
 {"pickf.ob", "X,Y,Q",  0x78000002, 0xfc20003f, WR_D|RD_S|RD_T|FP_D,    0,              MX|SB1  },
 {"pickf.ob", "D,S,T",  0x4ac00002, 0xffe0003f, WR_D|RD_S|RD_T,         0,              N54     },
This page took 0.029951 seconds and 4 git commands to generate.