Revision 660f11be sparc-dis.c
b/sparc-dis.c | ||
---|---|---|
2115 | 2115 |
{ 0x40, "#ASI_M_VIKING_TMP1" }, |
2116 | 2116 |
{ 0x41, "#ASI_M_VIKING_TMP2" }, |
2117 | 2117 |
{ 0x4c, "#ASI_M_ACTION" }, |
2118 |
{ 0, 0 }
|
|
2118 |
{ 0, NULL }
|
|
2119 | 2119 |
}; |
2120 | 2120 |
|
2121 | 2121 |
static const arg asi_table_v9[] = |
... | ... | |
2155 | 2155 |
/* These are UltraSPARC extensions. */ |
2156 | 2156 |
/* FIXME: There are dozens of them. Not sure we want them all. |
2157 | 2157 |
Most are for kernel building but some are for vis type stuff. */ |
2158 |
{ 0, 0 }
|
|
2158 |
{ 0, NULL }
|
|
2159 | 2159 |
}; |
2160 | 2160 |
|
2161 | 2161 |
/* Return the name for ASI value VALUE or NULL if not found. */ |
... | ... | |
2183 | 2183 |
{ 0x04, "#LoadStore" }, |
2184 | 2184 |
{ 0x02, "#StoreLoad" }, |
2185 | 2185 |
{ 0x01, "#LoadLoad" }, |
2186 |
{ 0, 0 }
|
|
2186 |
{ 0, NULL }
|
|
2187 | 2187 |
}; |
2188 | 2188 |
|
2189 | 2189 |
/* Return the name for membar value VALUE or NULL if not found. */ |
... | ... | |
2204 | 2204 |
{ 3, "#one_write" }, |
2205 | 2205 |
{ 4, "#page" }, |
2206 | 2206 |
{ 16, "#invalidate" }, |
2207 |
{ 0, 0 }
|
|
2207 |
{ 0, NULL }
|
|
2208 | 2208 |
}; |
2209 | 2209 |
|
2210 | 2210 |
/* Return the name for prefetch value VALUE or NULL if not found. */ |
... | ... | |
2226 | 2226 |
{ 4, "%ccsr2" }, |
2227 | 2227 |
{ 5, "%cccrr" }, |
2228 | 2228 |
{ 6, "%ccrstr" }, |
2229 |
{ 0, 0 }
|
|
2229 |
{ 0, NULL }
|
|
2230 | 2230 |
}; |
2231 | 2231 |
|
2232 | 2232 |
/* Return the name for sparclet cpreg value VALUE or NULL if not found. */ |
... | ... | |
2770 | 2770 |
imm_added_to_rs1 = 1; |
2771 | 2771 |
|
2772 | 2772 |
if (X_RS1 (insn) != X_RD (insn) |
2773 |
&& strchr (opcode->args, 'r') != 0)
|
|
2773 |
&& strchr (opcode->args, 'r') != NULL)
|
|
2774 | 2774 |
/* Can't do simple format if source and dest are different. */ |
2775 | 2775 |
continue; |
2776 | 2776 |
if (X_RS2 (insn) != X_RD (insn) |
2777 |
&& strchr (opcode->args, 'O') != 0)
|
|
2777 |
&& strchr (opcode->args, 'O') != NULL)
|
|
2778 | 2778 |
/* Can't do simple format if source and dest are different. */ |
2779 | 2779 |
continue; |
2780 | 2780 |
|
Also available in: Unified diff