* config/tc-m68hc11.c: Add S12X and XGATE co-processor support.
[platform/upstream/binutils.git] / opcodes / ChangeLog
1 2012-05-15  James Murray <jsm@jsm-net.demon.co.uk>
2             Stephane Carrez <stcarrez@nerim.fr>
3
4         * configure.in: Add S12X and XGATE co-processor support to m68hc11
5         target.
6         * disassemble.c: Likewise.
7         * configure: Regenerate.
8         * m68hc11-dis.c: Make objdump output more consistent, use hex
9         instead of decimal and use 0x prefix for hex.
10         * m68hc11-opc.c: Add S12X and XGATE opcodes.
11
12 2012-05-14  James Lemke  <jwlemke@codesourcery.com>
13
14         * ppc-dis.c (get_powerpc_dialect): Use is_ppc_vle.
15         (PPC_OPCD_SEGS, VLE_OPCD_SEGS): New defines.
16         (vle_opcd_indices): New array.
17         (lookup_vle): New function.
18         (disassemble_init_powerpc): Revise for second (VLE) opcode table.
19         (print_insn_powerpc): Likewise.
20         * ppc-opc.c: Likewise.
21
22 2012-05-14  Catherine Moore  <clm@codesourcery.com>
23             Maciej W. Rozycki  <macro@codesourcery.com>
24             Rhonda Wittels  <rhonda@codesourcery.com>
25             Nathan Froyd <froydnj@codesourcery.com>
26
27         * ppc-opc.c (insert_arx, extract_arx): New functions.
28         (insert_ary, extract_ary): New functions.
29         (insert_li20, extract_li20): New functions.
30         (insert_rx, extract_rx): New functions.
31         (insert_ry, extract_ry): New functions.
32         (insert_sci8, extract_sci8): New functions.
33         (insert_sci8n, extract_sci8n): New functions.
34         (insert_sd4h, extract_sd4h): New functions.
35         (insert_sd4w, extract_sd4w): New functions.
36         (insert_vlesi, extract_vlesi): New functions.
37         (insert_vlensi, extract_vlensi): New functions.
38         (insert_vleui, extract_vleui): New functions.
39         (insert_vleil, extract_vleil): New functions.
40         (BI_MASK, BB_MASK, BT): Use PPC_OPERAND_CR_BIT.
41         (BI16, BI32, BO32, B8): New.
42         (B15, B24, CRD32, CRS): New.
43         (CRD, OBF, BFA, CR, CRFS): Use PPC_OPERAND_CR_REG.
44         (DB, IMM20, RD, Rx, ARX, RY, RZ): New.
45         (ARY, SCLSCI8, SCLSCI8N, SE_SD, SE_SDH): New.
46         (SH6_MASK): Use PPC_OPSHIFT_INV.
47         (SI8, UI5, OIMM5, UI7, BO16): New.
48         (VLESIMM, VLENSIMM, VLEUIMM, VLEUIMML): New.
49         (XT6, XA6, XB6, XB6S, XC6): Use PPC_OPSHIFT_INV.
50         (ALLOW8_SPRG): New.
51         (insert_sprg, extract_sprg): Check ALLOW8_SPRG.
52         (OPVUP, OPVUP_MASK OPVUP): New
53         (BD8, BD8_MASK, BD8IO, BD8IO_MASK): New.
54         (EBD8IO, EBD8IO1_MASK, EBD8IO2_MASK, EBD8IO3_MASK): New.
55         (BD15, BD15_MASK, EBD15, EBD15_MASK, EBD15BI, EBD15BI_MASK): New.
56         (BD24,BD24_MASK, C_LK, C_LK_MASK, C, C_MASK): New.
57         (IA16, IA16_MASK, I16A, I16A_MASK, I16L, I16L_MASK): New.
58         (IM7, IM7_MASK, LI20, LI20_MASK, SCI8, SCI8_MASK): New.
59         (SCI8BF, SCI8BF_MASK, SD4, SD4_MASK): New.
60         (SE_IM5, SE_IM5_MASK): New.
61         (SE_R, SE_R_MASK, SE_RR, SE_RR_MASK): New.
62         (EX, EX_MASK, BO16F, BO16T, BO32F, BO32T): New.
63         (BO32DNZ, BO32DZ): New.
64         (NO371, PPCSPE, PPCISEL, PPCEFS, MULHW): Include PPC_OPCODE_VLE.
65         (PPCVLE): New.
66         (powerpc_opcodes): Add new VLE instructions.  Update existing
67         instruction to include PPCVLE if supported.
68         * ppc-dis.c (ppc_opts): Add vle entry.
69         (get_powerpc_dialect): New function.
70         (powerpc_init_dialect): VLE support.
71         (print_insn_big_powerpc): Call get_powerpc_dialect.
72         (print_insn_little_powerpc): Likewise.
73         (operand_value_powerpc): Handle negative shift counts.
74         (print_insn_powerpc): Handle 2-byte instruction lengths.
75
76 2012-05-11  Daniel Richard G.  <skunk@iskunk.org>
77
78         PR binutils/14028
79         * configure.in: Invoke ACX_HEADER_STRING.
80         * configure: Regenerate.
81         * config.in: Regenerate.
82         * sysdep.h: If STRINGS_WITH_STRING is defined then include both
83         string.h and strings.h.
84
85 2012-05-11  Nick Clifton  <nickc@redhat.com>
86
87         PR binutils/14006
88         * arm-dis.c (print_insn): Fix detection of instruction mode in
89         files containing multiple executable sections.
90
91 2012-05-03  Sean Keys  <skeys@ipdatasys.com>
92
93         * Makefile.in, configure: regenerate
94         * disassemble.c (disassembler): Recognize ARCH_XGATE.
95         * xgate-dis.c (read_memory, print_insn, print_insn_xgate):
96         New functions.
97         * configure.in: Recognize xgate.
98         * xgate-dis.c, xgate-opc.c: New files for support of xgate
99         * Makefile.am (CFILES, ALL_MACHINES): New files for disassembly
100         and opcode generation for xgate.
101
102 2012-04-30  DJ Delorie  <dj@redhat.com>
103
104         * rx-decode.opc (MOV): Do not sign-extend immediates which are
105         already the maximum bit size.
106         * rx-decode.c: Regenerate.
107
108 2012-04-27  David S. Miller  <davem@davemloft.net>
109
110         * sparc-dis.c (v9a_asr_reg_names): Add 'cfr'.
111         * sparc-opc.c (sparc_opcodes): Add rd/wr cases for %cfr.
112
113         * sparc-opc.c (sparc_opcodes): Add 'wr X, %pause' and 'pause'.
114         * sparc-dis.c (v9a_asr_reg_names): Add 'pause'.
115
116         * sparc-opc.c (CBCOND): New define.
117         (CBCOND_XCC): Likewise.
118         (cbcond): New helper macro.
119         (sparc_opcodes): Add compare-and-branch instructions.
120
121         * sparc-dis.c (print_insn_sparc): Handle ')'.
122         * sparc-opc.c (sparc_opcodes): Add crypto instructions.
123
124         * sparc-opc.c (sparc_opcodes): Rework table to put HWCAP values
125         into new struct sparc_opcode 'hwcaps' field instead of 'flags'.
126
127 2012-04-12  David S. Miller  <davem@davemloft.net>
128
129         * sparc-dis.c (X_DISP10): Define.
130         (print_insn_sparc): Handle '='.
131
132 2012-04-01  Mike Frysinger  <vapier@gentoo.org>
133
134         * bfin-dis.c (fmtconst): Replace decimal handling with a single
135         sprintf call and the '*' field width.
136
137 2012-03-23  Maxim Kuvyrkov  <maxim@codesourcery.com>
138
139         * mips-dis.c (mips_arch_choices): Add entry for Broadcom XLP.
140
141 2012-03-16  Alan Modra  <amodra@gmail.com>
142
143         * ppc-dis.c (PPC_OPC_SEGS, PPC_OP_TO_SEG): Delete.
144         (powerpc_opcd_indices): Bump array size.
145         (disassemble_init_powerpc): Set powerpc_opcd_indices entries
146         corresponding to unused opcodes to following entry.
147         (lookup_powerpc): New function, extracted and optimised from..
148         (print_insn_powerpc): ..here.
149
150 2012-03-15  Alan Modra  <amodra@gmail.com>
151             James Lemke  <jwlemke@codesourcery.com>
152
153         * disassemble.c (disassemble_init_for_target): Handle ppc init.
154         * ppc-dis.c (private): New var.
155         (powerpc_init_dialect): Don't return calloc failure, instead use
156         private.
157         (PPC_OPCD_SEGS, PPC_OP_TO_SEG): Define.
158         (powerpc_opcd_indices): New array.
159         (disassemble_init_powerpc): New function.
160         (print_insn_big_powerpc): Don't init dialect here.
161         (print_insn_little_powerpc): Likewise.
162         (print_insn_powerpc): Start search using powerpc_opcd_indices.
163
164 2012-03-10  Edmar Wienskoski  <edmar@freescale.com>
165
166         * ppc-dis.c (ppc_opts): Add entries for "e5500" and "e6500".
167         * ppc-opc.c (insert_ls, TMR, ESYNC, XSYNCLE_MASK): New.
168         (PPCVEC2, PPCTMR, E6500): New short names.
169         (powerpc_opcodes): Add vabsdub, vabsduh, vabsduw, dni, mvidsplt,
170         mviwsplt, icblq., mftmr, mttmr, dcblq., miso, lvexbx, lvexhx,
171         lvexwx, stvexbx, stvexhx, stvexwx, lvepx, lvepxl, stvepx, stvepxl,
172         lvtrx, lvtrxl, lvtlx, lvtlxl, stvfrx, stvfrxl, stvflx, stvflxl,
173         lvswx, lvswxl, stvswx, stvswxl, lvsm mnemonics. Accept LS, ESYNC
174         optional operands on sync instruction for E6500 target.
175
176 2012-03-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
177
178         * s390-opc.txt: Set instruction type of pku to SS_L2RDRD.
179
180 2012-02-27  Alan Modra  <amodra@gmail.com>
181
182         * mt-dis.c: Regenerate.
183
184 2012-02-27  Alan Modra  <amodra@gmail.com>
185
186         * v850-opc.c (extract_v8): Rearrange to make it obvious this
187         is the inverse of corresponding insert function.
188         (extract_d22, extract_u9, extract_r4): Likewise.
189         (extract_d9): Correct sign extension.
190         (extract_d16_15): Don't assume "long" is 32 bits, and don't
191         rely on implementation defined behaviour for shift right of
192         signed types.
193         (extract_d16_16, extract_d17_16, extract_i9): Likewise.
194         (extract_d23): Likewise, and correct mask.
195
196 2012-02-27  Alan Modra  <amodra@gmail.com>
197
198         * crx-dis.c (print_arg): Mask constant to 32 bits.
199         * crx-opc.c (cst4_map): Use int array.
200
201 2012-02-27  Alan Modra  <amodra@gmail.com>
202
203         * arc-dis.c (BITS): Don't use shifts to mask off bits.
204         (FIELDD): Sign extend with xor,sub.
205
206 2012-02-25  Walter Lee  <walt@tilera.com>
207
208         * tilegx-opc.c: Handle TILEGX_OPC_LD4S_TLS and TILEGX_OPC_LD_TLS.
209         * tilepro-opc.c: Handle TILEPRO_OPC_LW_TLS and
210         TILEPRO_OPC_LW_TLS_SN.
211
212 2012-02-21  H.J. Lu  <hongjiu.lu@intel.com>
213
214         * i386-opc.h (HLEPrefixNone): New.
215         (HLEPrefixLock): Likewise.
216         (HLEPrefixAny): Likewise.
217         (HLEPrefixRelease): Likewise.
218
219 2012-02-08  H.J. Lu  <hongjiu.lu@intel.com>
220
221         * i386-dis.c (HLE_Fixup1): New.
222         (HLE_Fixup2): Likewise.
223         (HLE_Fixup3): Likewise.
224         (Ebh1): Likewise.
225         (Evh1): Likewise.
226         (Ebh2): Likewise.
227         (Evh2): Likewise.
228         (Ebh3): Likewise.
229         (Evh3): Likewise.
230         (MOD_C6_REG_7): Likewise.
231         (MOD_C7_REG_7): Likewise.
232         (RM_C6_REG_7): Likewise.
233         (RM_C7_REG_7): Likewise.
234         (XACQUIRE_PREFIX): Likewise.
235         (XRELEASE_PREFIX): Likewise.
236         (dis386): Use Ebh1/Evh1 on add, adc, and, btc, btr, bts,
237         cmpxchg, dec, inc, neg, not, or, sbb, sub, xor and xadd. Use
238         Ebh2/Evh2 on xchg.  Use Ebh3/Evh3 on mov.
239         (reg_table): Use Ebh1/Evh1 on add, adc, and, dec, inc, neg,
240         not, or, sbb, sub and xor.  Use Ebh3/Evh3 on mov.  Use
241         MOD_C6_REG_7 and MOD_C7_REG_7.
242         (mod_table): Add MOD_C6_REG_7 and MOD_C7_REG_7.
243         (rm_table): Add RM_C6_REG_7 and RM_C7_REG_7.  Add xend and
244         xtest.
245         (prefix_name): Handle XACQUIRE_PREFIX and XRELEASE_PREFIX.
246         (CMPXCHG8B_Fixup): Handle HLE prefix on cmpxchg8b.
247
248         * i386-gen.c (cpu_flag_init): Add CPU_HLE_FLAGS and
249         CPU_RTM_FLAGS.
250         (cpu_flags): Add CpuHLE and CpuRTM.
251         (opcode_modifiers): Add HLEPrefixOk.
252
253         * i386-opc.h (CpuHLE): New.
254         (CpuRTM): Likewise.
255         (HLEPrefixOk): Likewise.
256         (i386_cpu_flags): Add cpuhle and cpurtm.
257         (i386_opcode_modifier): Add hleprefixok.
258
259         * i386-opc.tbl: Add HLEPrefixOk=3 to mov.  Add HLEPrefixOk to
260         add, adc, and, btc, btr, bts, cmpxchg, dec, inc, neg, not, or,
261         sbb, sub, xor and xadd.  Add HLEPrefixOk=2 to xchg with memory
262         operand.  Add xacquire, xrelease, xabort, xbegin, xend and
263         xtest.
264         * i386-init.h: Regenerated.
265         * i386-tbl.h: Likewise.
266
267 2012-01-24  DJ Delorie  <dj@redhat.com>
268
269         * rl78-decode.opc (rl78_decode_opcode): Add NOT1.
270         * rl78-decode.c: Regenerate.
271
272 2012-01-17  James Murray  <jsm@jsm-net.demon.co.uk>
273
274         PR binutils/10173
275         * cr16-dis.c (print_arg): Test symtab_size not num_symbols.
276
277 2012-01-17  Andreas Schwab  <schwab@linux-m68k.org>
278
279         * m68k-opc.c (m68k_opcodes): Fix entries for pmove with BADx/BACx
280         register and move them after pmove with PSR/PCSR register.
281
282 2012-01-13  H.J. Lu  <hongjiu.lu@intel.com>
283
284         * i386-dis.c (mod_table): Add vmfunc.
285
286         * i386-gen.c (cpu_flag_init): Add CPU_VMFUNC_FLAGS.
287         (cpu_flags): CpuVMFUNC.
288
289         * i386-opc.h (CpuVMFUNC): New.
290         (i386_cpu_flags): Add cpuvmfunc.
291
292         * i386-opc.tbl: Add vmfunc.
293         * i386-init.h: Regenerated.
294         * i386-tbl.h: Likewise.
295
296 For older changes see ChangeLog-2011
297 \f
298 Local Variables:
299 mode: change-log
300 left-margin: 8
301 fill-column: 74
302 version-control: never
303 End: