gas/
authorMaciej W. Rozycki <macro@linux-mips.org>
Mon, 28 Feb 2011 16:06:51 +0000 (16:06 +0000)
committerMaciej W. Rozycki <macro@linux-mips.org>
Mon, 28 Feb 2011 16:06:51 +0000 (16:06 +0000)
* config/tc-mips.c (macro): Handle M_PREF_AB.

include/opcode/
* mips.h (M_PREF_AB): New enum value.

opcodes/
* mips-opc.c (mips_builtin_opcodes): Add "pref" macro.

gas/ChangeLog
gas/config/tc-mips.c
include/opcode/ChangeLog
include/opcode/mips.h
opcodes/ChangeLog
opcodes/mips-opc.c

index 2b71f2a7ce3b692835b99c5c84612f59b39e75f4..17ec424d1a36d9710381fb07665ff9f027a3972b 100644 (file)
@@ -1,3 +1,7 @@
+2011-02-28  Maciej W. Rozycki  <macro@codesourcery.com>
+
+       * config/tc-mips.c (macro): Handle M_PREF_AB.
+
 2011-02-28  Maciej W. Rozycki  <macro@codesourcery.com>
 
        * config/tc-mips.c (RELAX_BRANCH_ENCODE): Encode the temporary
index 9450ddd8ce79641f74b2ddb3b9eaeca5761109ad..1c3010b0a1066433c24e1b05faaf7920291cfd8d 100644 (file)
@@ -6526,6 +6526,9 @@ macro (struct mips_cl_insn *ip)
     case M_CACHE_AB:
       s = "cache";
       goto st;
+    case M_PREF_AB:
+      s = "pref";
+      goto st;
     case M_SDC1_AB:
       s = "sdc1";
       coproc = 1;
@@ -6567,7 +6570,7 @@ macro (struct mips_cl_insn *ip)
          || mask == M_L_DAB
          || mask == M_S_DAB)
        fmt = "T,o(b)";
-      else if (mask == M_CACHE_AB)
+      else if (mask == M_CACHE_AB || mask == M_PREF_AB)
        fmt = "k,o(b)";
       else if (coproc)
        fmt = "E,o(b)";
index dda7ada624a0b2c596af3f4d17101210d38a0530..60c9bb7dea5d2806909815ae223f6ef9d185a3a6 100644 (file)
@@ -1,3 +1,7 @@
+2011-02-28  Maciej W. Rozycki  <macro@codesourcery.com>
+
+       * mips.h (M_PREF_AB): New enum value.
+
 2011-02-12  Mike Frysinger  <vapier@gentoo.org>
 
        * bfin.h (M_S2RND, M_T, M_W32, M_FU, M_TFU, M_IS, M_ISS2, M_IH,
index 282349c49dd848d4245b5a9582b884f40a3882cd..0685baba09dd1bb22044f9ab4b61a3f334151228 100644 (file)
@@ -864,6 +864,7 @@ enum
   M_MULOU_I,
   M_NOR_I,
   M_OR_I,
+  M_PREF_AB,
   M_REM_3,
   M_REM_3I,
   M_REMU_3,
index 2617f758c879b0f40266266e0175301ba3d03258..90dfa27158a7cce0706318a33e05399bc9c65ac0 100644 (file)
@@ -1,3 +1,7 @@
+2011-02-28  Maciej W. Rozycki  <macro@codesourcery.com>
+
+       * mips-opc.c (mips_builtin_opcodes): Add "pref" macro.
+
 2011-02-22  Mike Frysinger  <vapier@gentoo.org>
 
        * bfin-dis.c (OUTS): Remove p NULL check and txt NUL check.
index fc25e077c2a3f3b355c2d481fab58e7fd342a1ac..78b3fa782b4296f0fa09a272b3998adb9cc80123 100644 (file)
@@ -191,6 +191,7 @@ const struct mips_opcode mips_builtin_opcodes[] =
    instruction name anyhow.  */
 /* name,    args,      match,      mask,       pinfo,                  pinfo2,         membership */
 {"pref",    "k,o(b)",   0xcc000000, 0xfc000000, RD_b,                  0,              I4_32|G3        },
+{"pref",    "k,A(b)",  0,    (int) M_PREF_AB,  INSN_MACRO,             0,              I4_32|G3        },
 {"prefx",   "h,t(b)",  0x4c00000f, 0xfc0007ff, RD_b|RD_t|FP_S,         0,              I4_33   },
 {"nop",     "",         0x00000000, 0xffffffff, 0,                     INSN2_ALIAS,    I1      }, /* sll */
 {"ssnop",   "",         0x00000040, 0xffffffff, 0,                     INSN2_ALIAS,    I1      }, /* sll */
This page took 0.038867 seconds and 4 git commands to generate.