gas/testsuite/
[binutils-gdb.git] / opcodes / ChangeLog
1 2012-08-06 Roland McGrath <mcgrathr@google.com>
2
3 * i386-dis.c (print_insn): Print spaces between multiple excess
4 prefixes. Return actual number of excess prefixes consumed,
5 not always one.
6
7 * i386-dis.c (OP_REG): Ignore REX_B for segment register cases.
8
9 2012-08-06 Roland McGrath <mcgrathr@google.com>
10 Victor Khimenko <khim@google.com>
11 H.J. Lu <hongjiu.lu@intel.com>
12
13 * i386-dis.c (OP_sI): In b_T_mode and v_mode, REX_W trumps DFLAG.
14 (putop): For 'T', 'U', and 'V', treat REX_W like DFLAG.
15 (intel_operand_size): For stack_v_mode, treat REX_W like DFLAG.
16 (OP_E_register): Likewise.
17 (OP_REG): For low 8 whole registers, treat REX_W like DFLAG.
18
19 2012-08-02 Jan-Benedict Glaw <jbglaw@lug-owl.de>
20
21 * configure.in: Formatting.
22 * configure: Regenerate.
23
24 2012-08-01 Alan Modra <amodra@gmail.com>
25
26 * h8300-dis.c: Fix printf arg warnings.
27 * i960-dis.c: Likewise.
28 * mips-dis.c: Likewise.
29 * pdp11-dis.c: Likewise.
30 * sh-dis.c: Likewise.
31 * v850-dis.c: Likewise.
32 * configure.in: Formatting.
33 * configure: Regenerate.
34 * rl78-decode.c: Regenerate.
35 * po/POTFILES.in: Regenerate.
36
37 2012-07-31 Chao-Ying Fu <fu@mips.com>
38 Catherine Moore <clm@codesourcery.com>
39 Maciej W. Rozycki <macro@codesourcery.com>
40
41 * micromips-opc.c (WR_a, RD_a, MOD_a): New macros.
42 (DSP_VOLA): Likewise.
43 (D32, D33): Likewise.
44 (micromips_opcodes): Add DSP ASE instructions.
45 * mips-dis.c (print_insn_micromips) <'2', '3'>: New cases.
46 <'4', '5', '6', '7', '8', '0', '^', '@'>: Likewise.
47
48 2012-07-31 Jan Beulich <jbeulich@suse.com>
49
50 * i386-opc.tbl (vmovntdqa): Move up into 256-bit integer AVX2
51 instruction group. Mark as requiring AVX2.
52 * i386-tbl.h: Re-generate.
53
54 2012-07-30 Nick Clifton <nickc@redhat.com>
55
56 * po/opcodes.pot: Updated template.
57 * po/es.po: Updated Spanish translation.
58 * po/fi.po: Updated Finnish translation.
59
60 2012-07-27 Mike Frysinger <vapier@gentoo.org>
61
62 * configure.in (BFD_VERSION): Run bfd/configure --version and
63 parse the output of that.
64 * configure: Regenerate.
65
66 2012-07-25 James Lemke <jwlemke@codesourcery.com>
67
68 * ppc-opc.c (powerpc_opcodes): Add/remove PPCVLE for some 32-bit insns.
69
70 2012-07-24 Stephan McCamant <smcc@cs.berkeley.edu>
71 Dr David Alan Gilbert <dave@treblig.org>
72
73 PR binutils/13135
74 * arm-dis.c: Add necessary casts for printing integer values.
75 Use %s when printing string values.
76 * hppa-dis.c: Likewise.
77 * m68k-dis.c: Likewise.
78 * microblaze-dis.c: Likewise.
79 * mips-dis.c: Likewise.
80 * sparc-dis.c: Likewise.
81
82 2012-07-19 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
83
84 PR binutils/14355
85 * i386-dis.c (VEX_LEN_0FXOP_08_CC): New.
86 (VEX_LEN_0FXOP_08_CD): Likewise.
87 (VEX_LEN_0FXOP_08_CE): Likewise.
88 (VEX_LEN_0FXOP_08_CF): Likewise.
89 (VEX_LEN_0FXOP_08_EC): Likewise.
90 (VEX_LEN_0FXOP_08_ED): Likewise.
91 (VEX_LEN_0FXOP_08_EE): Likewise.
92 (VEX_LEN_0FXOP_08_EF): Likewise.
93 (xop_table): Fix entries for vpcomb, vpcomw, vpcomd, vpcomq,
94 vpcomub, vpcomuw, vpcomud, vpcomuq.
95 (vex_len_table): Add entries for VEX_LEN_0FXOP_08_CC,
96 VEX_LEN_0FXOP_08_CD, VEX_LEN_0FXOP_08_CE, VEX_LEN_0FXOP_08_CF,
97 VEX_LEN_0FXOP_08_EC, VEX_LEN_0FXOP_08_ED, VEX_LEN_0FXOP_08_EE,
98 VEX_LEN_0FXOP_08_EF.
99
100 2012-07-16 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
101
102 * i386-dis.c (PREFIX_0F38F6): New.
103 (prefix_table): Add adcx, adox instructions.
104 (three_byte_table): Use PREFIX_0F38F6.
105 (mod_table): Add rdseed instruction.
106 * i386-gen.c (cpu_flag_init): Add CpuADX, CpuRDSEED, CpuPRFCHW.
107 (cpu_flags): Likewise.
108 * i386-opc.h: Add CpuADX, CpuRDSEED, CpuPRFCHW.
109 (i386_cpu_flags): Add fields cpurdseed, cpuadx, cpuprfchw.
110 * i386-opc.tbl: Add instrcutions adcx, adox, rdseed. Extend
111 prefetchw.
112 * i386-tbl.h: Regenerate.
113 * i386-init.h: Likewise.
114
115 2012-07-05 Thomas Schwinge <thomas@codesourcery.com>
116
117 * mips-dis.c: Remove gratuitous newline.
118
119 2012-07-05 Sean Keys <skeys@ipdatasys.com>
120
121 * xgate-dis.c: Removed an IF statement that will
122 always be false due to overlapping operand masks.
123 * xgate-opc.c: Corrected 'com' opcode entry and
124 fixed spacing.
125
126 2012-07-02 Roland McGrath <mcgrathr@google.com>
127
128 * i386-opc.tbl: Add RepPrefixOk to nop.
129 * i386-tbl.h: Regenerate.
130
131 2012-06-28 Nick Clifton <nickc@redhat.com>
132
133 * po/vi.po: Updated Vietnamese translation.
134
135 2012-06-22 Roland McGrath <mcgrathr@google.com>
136
137 * i386-opc.tbl: Add RepPrefixOk to ret.
138 * i386-tbl.h: Regenerate.
139
140 * i386-opc.h (RepPrefixOk): New enum constant.
141 (i386_opcode_modifier): New bitfield 'repprefixok'.
142 * i386-gen.c (opcode_modifiers): Add RepPrefixOk.
143 * i386-opc.tbl: Add RepPrefixOk to bsf, bsr, and to all
144 instructions that have IsString.
145 * i386-tbl.h: Regenerate.
146
147 2012-06-11 Andreas Schwab <schwab@linux-m68k.org>
148
149 * ppc-opc.c (lvsl, lvebx, isellt, icbt, ldepx, lwepx, lvsr, lvehx)
150 (iselgt, lvewx, iseleq, isel, dcbst, dcbstep, dcbfl, dcbf, lbepx)
151 (lvx, dcbfep, dcbtstls, stvebx, dcbtstlse, stdepx, stwepx, dcbtls)
152 (stvehx, dcbtlse, stvewx, stbepx, icblc, stvx, dcbtstt, dcbtst)
153 (dcbtst, dcbtstep, dcbtt, dcbt, dcbt, lhepx, eciwx, dcbtep)
154 (dcread, lxvdsx, lvxl, dcblc, sthepx, ecowx, dcbi, dcread, icbtls)
155 (stvxl, lxsdx, lfdepx, stxsdx, stfdepx, dcba, dcbal, lxvw4x)
156 (tlbivax, lfdpx, lxvd2x, tlbsrx., stxvw4x, tlbsx, tlbsx., stfdpx)
157 (stfqx, stxvd2x, icbi, icbiep, icread, dcbzep): Change RA to RA0.
158
159 2012-05-19 Alan Modra <amodra@gmail.com>
160
161 * ppc-dis.c: Don't include elf32-ppc.h, do include elf/ppc.h.
162 (get_powerpc_dialect): Detect VLE sections from ELF sh_flags.
163
164 2012-05-18 Alan Modra <amodra@gmail.com>
165
166 * ia64-opc.c: Remove #include "ansidecl.h".
167 * z8kgen.c: Include sysdep.h first.
168
169 * arc-dis.c: Include sysdep.h first, remove some redundant includes.
170 * bfin-dis.c: Likewise.
171 * i860-dis.c: Likewise.
172 * ia64-dis.c: Likewise.
173 * ia64-gen.c: Likewise.
174 * m68hc11-dis.c: Likewise.
175 * mmix-dis.c: Likewise.
176 * msp430-dis.c: Likewise.
177 * or32-dis.c: Likewise.
178 * rl78-dis.c: Likewise.
179 * rx-dis.c: Likewise.
180 * tic4x-dis.c: Likewise.
181 * tilegx-opc.c: Likewise.
182 * tilepro-opc.c: Likewise.
183 * rx-decode.c: Regenerate.
184
185 2012-05-17 James Lemke <jwlemke@codesourcery.com>
186
187 * ppc-opc.c (powerpc_macros): Add entries for e_extlwi to e_clrlslwi.
188
189 2012-05-17 James Lemke <jwlemke@codesourcery.com>
190
191 * ppc-opc.c (extract_sprg): Use ALLOW8_SPRG to include VLE.
192
193 2012-05-17 Daniel Richard G. <skunk@iskunk.org>
194 Nick Clifton <nickc@redhat.com>
195
196 PR 14072
197 * configure.in: Add check that sysdep.h has been included before
198 any system header files.
199 * configure: Regenerate.
200 * config.in: Regenerate.
201 * sysdep.h: Generate an error if included before config.h.
202 * alpha-opc.c: Include sysdep.h before any other header file.
203 * alpha-dis.c: Likewise.
204 * avr-dis.c: Likewise.
205 * cgen-opc.c: Likewise.
206 * cr16-dis.c: Likewise.
207 * cris-dis.c: Likewise.
208 * crx-dis.c: Likewise.
209 * d10v-dis.c: Likewise.
210 * d10v-opc.c: Likewise.
211 * d30v-dis.c: Likewise.
212 * d30v-opc.c: Likewise.
213 * h8500-dis.c: Likewise.
214 * i370-dis.c: Likewise.
215 * i370-opc.c: Likewise.
216 * m10200-dis.c: Likewise.
217 * m10300-dis.c: Likewise.
218 * micromips-opc.c: Likewise.
219 * mips-opc.c: Likewise.
220 * mips61-opc.c: Likewise.
221 * moxie-dis.c: Likewise.
222 * or32-opc.c: Likewise.
223 * pj-dis.c: Likewise.
224 * ppc-dis.c: Likewise.
225 * ppc-opc.c: Likewise.
226 * s390-dis.c: Likewise.
227 * sh-dis.c: Likewise.
228 * sh64-dis.c: Likewise.
229 * sparc-dis.c: Likewise.
230 * sparc-opc.c: Likewise.
231 * spu-dis.c: Likewise.
232 * tic30-dis.c: Likewise.
233 * tic54x-dis.c: Likewise.
234 * tic80-dis.c: Likewise.
235 * tic80-opc.c: Likewise.
236 * tilegx-dis.c: Likewise.
237 * tilepro-dis.c: Likewise.
238 * v850-dis.c: Likewise.
239 * v850-opc.c: Likewise.
240 * vax-dis.c: Likewise.
241 * w65-dis.c: Likewise.
242 * xgate-dis.c: Likewise.
243 * xtensa-dis.c: Likewise.
244 * rl78-decode.opc: Likewise.
245 * rl78-decode.c: Regenerate.
246 * rx-decode.opc: Likewise.
247 * rx-decode.c: Regenerate.
248
249 2012-05-17 Alan Modra <amodra@gmail.com>
250
251 * ppc_dis.c: Don't include elf/ppc.h.
252
253 2012-05-16 Meador Inge <meadori@codesourcery.com>
254
255 * arm-dis.c (arm_opcodes): Don't disassemble STMFD/LDMIA sp!, {reg}
256 to PUSH/POP {reg}.
257
258 2012-05-15 James Murray <jsm@jsm-net.demon.co.uk>
259 Stephane Carrez <stcarrez@nerim.fr>
260
261 * configure.in: Add S12X and XGATE co-processor support to m68hc11
262 target.
263 * disassemble.c: Likewise.
264 * configure: Regenerate.
265 * m68hc11-dis.c: Make objdump output more consistent, use hex
266 instead of decimal and use 0x prefix for hex.
267 * m68hc11-opc.c: Add S12X and XGATE opcodes.
268
269 2012-05-14 James Lemke <jwlemke@codesourcery.com>
270
271 * ppc-dis.c (get_powerpc_dialect): Use is_ppc_vle.
272 (PPC_OPCD_SEGS, VLE_OPCD_SEGS): New defines.
273 (vle_opcd_indices): New array.
274 (lookup_vle): New function.
275 (disassemble_init_powerpc): Revise for second (VLE) opcode table.
276 (print_insn_powerpc): Likewise.
277 * ppc-opc.c: Likewise.
278
279 2012-05-14 Catherine Moore <clm@codesourcery.com>
280 Maciej W. Rozycki <macro@codesourcery.com>
281 Rhonda Wittels <rhonda@codesourcery.com>
282 Nathan Froyd <froydnj@codesourcery.com>
283
284 * ppc-opc.c (insert_arx, extract_arx): New functions.
285 (insert_ary, extract_ary): New functions.
286 (insert_li20, extract_li20): New functions.
287 (insert_rx, extract_rx): New functions.
288 (insert_ry, extract_ry): New functions.
289 (insert_sci8, extract_sci8): New functions.
290 (insert_sci8n, extract_sci8n): New functions.
291 (insert_sd4h, extract_sd4h): New functions.
292 (insert_sd4w, extract_sd4w): New functions.
293 (insert_vlesi, extract_vlesi): New functions.
294 (insert_vlensi, extract_vlensi): New functions.
295 (insert_vleui, extract_vleui): New functions.
296 (insert_vleil, extract_vleil): New functions.
297 (BI_MASK, BB_MASK, BT): Use PPC_OPERAND_CR_BIT.
298 (BI16, BI32, BO32, B8): New.
299 (B15, B24, CRD32, CRS): New.
300 (CRD, OBF, BFA, CR, CRFS): Use PPC_OPERAND_CR_REG.
301 (DB, IMM20, RD, Rx, ARX, RY, RZ): New.
302 (ARY, SCLSCI8, SCLSCI8N, SE_SD, SE_SDH): New.
303 (SH6_MASK): Use PPC_OPSHIFT_INV.
304 (SI8, UI5, OIMM5, UI7, BO16): New.
305 (VLESIMM, VLENSIMM, VLEUIMM, VLEUIMML): New.
306 (XT6, XA6, XB6, XB6S, XC6): Use PPC_OPSHIFT_INV.
307 (ALLOW8_SPRG): New.
308 (insert_sprg, extract_sprg): Check ALLOW8_SPRG.
309 (OPVUP, OPVUP_MASK OPVUP): New
310 (BD8, BD8_MASK, BD8IO, BD8IO_MASK): New.
311 (EBD8IO, EBD8IO1_MASK, EBD8IO2_MASK, EBD8IO3_MASK): New.
312 (BD15, BD15_MASK, EBD15, EBD15_MASK, EBD15BI, EBD15BI_MASK): New.
313 (BD24,BD24_MASK, C_LK, C_LK_MASK, C, C_MASK): New.
314 (IA16, IA16_MASK, I16A, I16A_MASK, I16L, I16L_MASK): New.
315 (IM7, IM7_MASK, LI20, LI20_MASK, SCI8, SCI8_MASK): New.
316 (SCI8BF, SCI8BF_MASK, SD4, SD4_MASK): New.
317 (SE_IM5, SE_IM5_MASK): New.
318 (SE_R, SE_R_MASK, SE_RR, SE_RR_MASK): New.
319 (EX, EX_MASK, BO16F, BO16T, BO32F, BO32T): New.
320 (BO32DNZ, BO32DZ): New.
321 (NO371, PPCSPE, PPCISEL, PPCEFS, MULHW): Include PPC_OPCODE_VLE.
322 (PPCVLE): New.
323 (powerpc_opcodes): Add new VLE instructions. Update existing
324 instruction to include PPCVLE if supported.
325 * ppc-dis.c (ppc_opts): Add vle entry.
326 (get_powerpc_dialect): New function.
327 (powerpc_init_dialect): VLE support.
328 (print_insn_big_powerpc): Call get_powerpc_dialect.
329 (print_insn_little_powerpc): Likewise.
330 (operand_value_powerpc): Handle negative shift counts.
331 (print_insn_powerpc): Handle 2-byte instruction lengths.
332
333 2012-05-11 Daniel Richard G. <skunk@iskunk.org>
334
335 PR binutils/14028
336 * configure.in: Invoke ACX_HEADER_STRING.
337 * configure: Regenerate.
338 * config.in: Regenerate.
339 * sysdep.h: If STRINGS_WITH_STRING is defined then include both
340 string.h and strings.h.
341
342 2012-05-11 Nick Clifton <nickc@redhat.com>
343
344 PR binutils/14006
345 * arm-dis.c (print_insn): Fix detection of instruction mode in
346 files containing multiple executable sections.
347
348 2012-05-03 Sean Keys <skeys@ipdatasys.com>
349
350 * Makefile.in, configure: regenerate
351 * disassemble.c (disassembler): Recognize ARCH_XGATE.
352 * xgate-dis.c (read_memory, print_insn, print_insn_xgate):
353 New functions.
354 * configure.in: Recognize xgate.
355 * xgate-dis.c, xgate-opc.c: New files for support of xgate
356 * Makefile.am (CFILES, ALL_MACHINES): New files for disassembly
357 and opcode generation for xgate.
358
359 2012-04-30 DJ Delorie <dj@redhat.com>
360
361 * rx-decode.opc (MOV): Do not sign-extend immediates which are
362 already the maximum bit size.
363 * rx-decode.c: Regenerate.
364
365 2012-04-27 David S. Miller <davem@davemloft.net>
366
367 * sparc-dis.c (v9a_asr_reg_names): Add 'cfr'.
368 * sparc-opc.c (sparc_opcodes): Add rd/wr cases for %cfr.
369
370 * sparc-opc.c (sparc_opcodes): Add 'wr X, %pause' and 'pause'.
371 * sparc-dis.c (v9a_asr_reg_names): Add 'pause'.
372
373 * sparc-opc.c (CBCOND): New define.
374 (CBCOND_XCC): Likewise.
375 (cbcond): New helper macro.
376 (sparc_opcodes): Add compare-and-branch instructions.
377
378 * sparc-dis.c (print_insn_sparc): Handle ')'.
379 * sparc-opc.c (sparc_opcodes): Add crypto instructions.
380
381 * sparc-opc.c (sparc_opcodes): Rework table to put HWCAP values
382 into new struct sparc_opcode 'hwcaps' field instead of 'flags'.
383
384 2012-04-12 David S. Miller <davem@davemloft.net>
385
386 * sparc-dis.c (X_DISP10): Define.
387 (print_insn_sparc): Handle '='.
388
389 2012-04-01 Mike Frysinger <vapier@gentoo.org>
390
391 * bfin-dis.c (fmtconst): Replace decimal handling with a single
392 sprintf call and the '*' field width.
393
394 2012-03-23 Maxim Kuvyrkov <maxim@codesourcery.com>
395
396 * mips-dis.c (mips_arch_choices): Add entry for Broadcom XLP.
397
398 2012-03-16 Alan Modra <amodra@gmail.com>
399
400 * ppc-dis.c (PPC_OPC_SEGS, PPC_OP_TO_SEG): Delete.
401 (powerpc_opcd_indices): Bump array size.
402 (disassemble_init_powerpc): Set powerpc_opcd_indices entries
403 corresponding to unused opcodes to following entry.
404 (lookup_powerpc): New function, extracted and optimised from..
405 (print_insn_powerpc): ..here.
406
407 2012-03-15 Alan Modra <amodra@gmail.com>
408 James Lemke <jwlemke@codesourcery.com>
409
410 * disassemble.c (disassemble_init_for_target): Handle ppc init.
411 * ppc-dis.c (private): New var.
412 (powerpc_init_dialect): Don't return calloc failure, instead use
413 private.
414 (PPC_OPCD_SEGS, PPC_OP_TO_SEG): Define.
415 (powerpc_opcd_indices): New array.
416 (disassemble_init_powerpc): New function.
417 (print_insn_big_powerpc): Don't init dialect here.
418 (print_insn_little_powerpc): Likewise.
419 (print_insn_powerpc): Start search using powerpc_opcd_indices.
420
421 2012-03-10 Edmar Wienskoski <edmar@freescale.com>
422
423 * ppc-dis.c (ppc_opts): Add entries for "e5500" and "e6500".
424 * ppc-opc.c (insert_ls, TMR, ESYNC, XSYNCLE_MASK): New.
425 (PPCVEC2, PPCTMR, E6500): New short names.
426 (powerpc_opcodes): Add vabsdub, vabsduh, vabsduw, dni, mvidsplt,
427 mviwsplt, icblq., mftmr, mttmr, dcblq., miso, lvexbx, lvexhx,
428 lvexwx, stvexbx, stvexhx, stvexwx, lvepx, lvepxl, stvepx, stvepxl,
429 lvtrx, lvtrxl, lvtlx, lvtlxl, stvfrx, stvfrxl, stvflx, stvflxl,
430 lvswx, lvswxl, stvswx, stvswxl, lvsm mnemonics. Accept LS, ESYNC
431 optional operands on sync instruction for E6500 target.
432
433 2012-03-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
434
435 * s390-opc.txt: Set instruction type of pku to SS_L2RDRD.
436
437 2012-02-27 Alan Modra <amodra@gmail.com>
438
439 * mt-dis.c: Regenerate.
440
441 2012-02-27 Alan Modra <amodra@gmail.com>
442
443 * v850-opc.c (extract_v8): Rearrange to make it obvious this
444 is the inverse of corresponding insert function.
445 (extract_d22, extract_u9, extract_r4): Likewise.
446 (extract_d9): Correct sign extension.
447 (extract_d16_15): Don't assume "long" is 32 bits, and don't
448 rely on implementation defined behaviour for shift right of
449 signed types.
450 (extract_d16_16, extract_d17_16, extract_i9): Likewise.
451 (extract_d23): Likewise, and correct mask.
452
453 2012-02-27 Alan Modra <amodra@gmail.com>
454
455 * crx-dis.c (print_arg): Mask constant to 32 bits.
456 * crx-opc.c (cst4_map): Use int array.
457
458 2012-02-27 Alan Modra <amodra@gmail.com>
459
460 * arc-dis.c (BITS): Don't use shifts to mask off bits.
461 (FIELDD): Sign extend with xor,sub.
462
463 2012-02-25 Walter Lee <walt@tilera.com>
464
465 * tilegx-opc.c: Handle TILEGX_OPC_LD4S_TLS and TILEGX_OPC_LD_TLS.
466 * tilepro-opc.c: Handle TILEPRO_OPC_LW_TLS and
467 TILEPRO_OPC_LW_TLS_SN.
468
469 2012-02-21 H.J. Lu <hongjiu.lu@intel.com>
470
471 * i386-opc.h (HLEPrefixNone): New.
472 (HLEPrefixLock): Likewise.
473 (HLEPrefixAny): Likewise.
474 (HLEPrefixRelease): Likewise.
475
476 2012-02-08 H.J. Lu <hongjiu.lu@intel.com>
477
478 * i386-dis.c (HLE_Fixup1): New.
479 (HLE_Fixup2): Likewise.
480 (HLE_Fixup3): Likewise.
481 (Ebh1): Likewise.
482 (Evh1): Likewise.
483 (Ebh2): Likewise.
484 (Evh2): Likewise.
485 (Ebh3): Likewise.
486 (Evh3): Likewise.
487 (MOD_C6_REG_7): Likewise.
488 (MOD_C7_REG_7): Likewise.
489 (RM_C6_REG_7): Likewise.
490 (RM_C7_REG_7): Likewise.
491 (XACQUIRE_PREFIX): Likewise.
492 (XRELEASE_PREFIX): Likewise.
493 (dis386): Use Ebh1/Evh1 on add, adc, and, btc, btr, bts,
494 cmpxchg, dec, inc, neg, not, or, sbb, sub, xor and xadd. Use
495 Ebh2/Evh2 on xchg. Use Ebh3/Evh3 on mov.
496 (reg_table): Use Ebh1/Evh1 on add, adc, and, dec, inc, neg,
497 not, or, sbb, sub and xor. Use Ebh3/Evh3 on mov. Use
498 MOD_C6_REG_7 and MOD_C7_REG_7.
499 (mod_table): Add MOD_C6_REG_7 and MOD_C7_REG_7.
500 (rm_table): Add RM_C6_REG_7 and RM_C7_REG_7. Add xend and
501 xtest.
502 (prefix_name): Handle XACQUIRE_PREFIX and XRELEASE_PREFIX.
503 (CMPXCHG8B_Fixup): Handle HLE prefix on cmpxchg8b.
504
505 * i386-gen.c (cpu_flag_init): Add CPU_HLE_FLAGS and
506 CPU_RTM_FLAGS.
507 (cpu_flags): Add CpuHLE and CpuRTM.
508 (opcode_modifiers): Add HLEPrefixOk.
509
510 * i386-opc.h (CpuHLE): New.
511 (CpuRTM): Likewise.
512 (HLEPrefixOk): Likewise.
513 (i386_cpu_flags): Add cpuhle and cpurtm.
514 (i386_opcode_modifier): Add hleprefixok.
515
516 * i386-opc.tbl: Add HLEPrefixOk=3 to mov. Add HLEPrefixOk to
517 add, adc, and, btc, btr, bts, cmpxchg, dec, inc, neg, not, or,
518 sbb, sub, xor and xadd. Add HLEPrefixOk=2 to xchg with memory
519 operand. Add xacquire, xrelease, xabort, xbegin, xend and
520 xtest.
521 * i386-init.h: Regenerated.
522 * i386-tbl.h: Likewise.
523
524 2012-01-24 DJ Delorie <dj@redhat.com>
525
526 * rl78-decode.opc (rl78_decode_opcode): Add NOT1.
527 * rl78-decode.c: Regenerate.
528
529 2012-01-17 James Murray <jsm@jsm-net.demon.co.uk>
530
531 PR binutils/10173
532 * cr16-dis.c (print_arg): Test symtab_size not num_symbols.
533
534 2012-01-17 Andreas Schwab <schwab@linux-m68k.org>
535
536 * m68k-opc.c (m68k_opcodes): Fix entries for pmove with BADx/BACx
537 register and move them after pmove with PSR/PCSR register.
538
539 2012-01-13 H.J. Lu <hongjiu.lu@intel.com>
540
541 * i386-dis.c (mod_table): Add vmfunc.
542
543 * i386-gen.c (cpu_flag_init): Add CPU_VMFUNC_FLAGS.
544 (cpu_flags): CpuVMFUNC.
545
546 * i386-opc.h (CpuVMFUNC): New.
547 (i386_cpu_flags): Add cpuvmfunc.
548
549 * i386-opc.tbl: Add vmfunc.
550 * i386-init.h: Regenerated.
551 * i386-tbl.h: Likewise.
552
553 For older changes see ChangeLog-2011
554 \f
555 Local Variables:
556 mode: change-log
557 left-margin: 8
558 fill-column: 74
559 version-control: never
560 End: