Add USE_VEX_W_TABLE, VEX_W_TABLE and VEX_W_XXX.
[binutils-gdb.git] / opcodes / ChangeLog
1 2009-12-15 H.J. Lu <hongjiu.lu@intel.com>
2
3 * i386-dis.c (USE_VEX_W_TABLE): New.
4 (VEX_W_TABLE): Likewise.
5 (VEX_W_XXX): Likewise.
6 (vex_w_table): Likewise.
7 (prefix_table): Use VEX_W_XXX.
8 (vex_table): Likewise.
9 (vex_len_table): Likewise.
10 (mod_table): Likewise.
11 (get_valid_dis386): Handle USE_VEX_W_TABLE.
12
13 * i386-opc.tbl: Add VexW0 to AVX instructions where the VEX.W bit
14 isn't used.
15 * i386-tbl.h: Regenerated.
16
17 2009-12-15 H.J. Lu <hongjiu.lu@intel.com>
18
19 * i386-opc.h (VEX128): New.
20 (VEX256): Likewise.
21
22 2009-12-14 H.J. Lu <hongjiu.lu@intel.com>
23
24 * i386-dis.c (vex_len_table): Reformat.
25
26 2009-12-14 H.J. Lu <hongjiu.lu@intel.com>
27
28 * i386-dis.c (MOD_VEX_51): Renamed to ...
29 (MOD_VEX_50): This.
30 (vex_table): Updated.
31 (mod_table): Likewise.
32
33 2009-12-14 Nick Clifton <nickc@redhat.com>
34
35 PR binutils/10924
36 * arm-dis.c (arm_opcodes): Specify %R in cases where using r15
37 results in unpredictable behaviour.
38 (print_insn_arm): Handle %R.
39
40 2009-12-11 H.J. Lu <hongjiu.lu@intel.com>
41
42 * i386-dis.c (get_valid_dis386): Set vex.w to 0 for VEX C5
43 prefix.
44 (print_insn): Don't set vex.w here.
45
46 2009-12-11 H.J. Lu <hongjiu.lu@intel.com>
47
48 * i386-dis.c (print_insn): Set vex.w to 0.
49
50 2009-12-11 Quentin Neill <quentin.neill@amd.com>
51
52 * i386-dis.c (get_vex_imm8): Extend logic to apply in all cases,
53 to avoid fetching ahead for the immediate bytes when OP_E_memory
54 has already been called. Fix indentation.
55
56 2009-12-11 Nick Clifton <nickc@redhat.com>
57
58 * Makefile.in: Regenerate.
59 * configure: Regenerate.
60 * arm-dis.c: Fix shadowed variable warnings.
61 * cgen-opc.c: Likewise.
62 * cr16-dis.c: Likewise.
63 * crx-dis.c: Likewise.
64 * d30v-dis.c: Likewise.
65 * fr30-dis.c: Likewise.
66 * frv-opc.c: Likewise.
67 * h8500-dis.c: Likewise.
68 * i386-dis.c: Likewise.
69 * i960-dis.c: Likewise.
70 * ia64-gen.c: Likewise.
71 * ia64-opc.c: Likewise.
72 * m32c-asm.c: Likewise.
73 * m32c-dis.c: Likewise.
74 * m68k-dis.c: Likewise.
75 * maxq-dis.c: Likewise.
76 * mcore-dis.c: Likewise.
77 * mep-asm.c: Likewise.
78 * microblaze-dis.c: Likewise.
79 * mmix-dis.c: Likewise.
80 * ns32k-dis.c: Likewise.
81 * or32-opc.c: Likewise.
82 * s390-dis.c: Likewise.
83 * sh64-dis.c: Likewise.
84 * spu-dis.c: Likewise.
85 * tic30-dis.c: Likewise.
86
87 2009-12-09 Nick Clifton <nickc@redhat.com>
88
89 PR 10924
90 * arm-dis.c (print_insn_arm): Mark insns that use the PC in
91 post-indexed addressing as unpredictable.
92
93 2009-12-03 H.J. Lu <hongjiu.lu@intel.com>
94
95 * i386-dis.c (FXSAVE_Fixup): New.
96 (FXSAVE): Likewise.
97 (mod_table): Use FXSAVE on fxsave and fxrstor.
98
99 * i386-opc.tbl: Add fxsave64 and fxrstor64.
100 * i386-tbl.h: Regenerated.
101
102 2009-12-02 Nick Clifton <nickc@redhat.com>
103 Richard Earnshaw <rearnsha@arm.com>
104
105 PR gas/11013
106 * arm-dis.c (thumb32_opc): Adjust disassembly of QADD, QDADD, QSUB
107 and QDSUB.
108
109 2009-11-30 Massimo Ruo Roch <massimo.ruoroch@polito.it>
110
111 PR gas/11030
112 * m68k-opc.c (m68k_opcodes): Allow the STLDSR instruction on the
113 Coldfire ISA A+.
114
115 2009-11-17 Quentin Neill <quentin.neill@amd.com>
116 Sebastian Pop <sebastian.pop@amd.com>
117
118 * i386-dis.c (get_vex_imm8): Increase bytes_before_imm when
119 decoding the second source operand from the immediate byte.
120 (OP_EX_VexW): Pass an extra integer to identify the second
121 and third source arguments.
122
123 2009-11-19 H.J. Lu <hongjiu.lu@intel.com>
124
125 * i386-opc.tbl: Add IsLockable to cmpxch16b.
126 * i386-tbl.h: Regenerated.
127
128 2009-11-19 Nick Clifton <nickc@redhat.com>
129
130 PR binutils/10924
131 * arm-dis.c (print_insn_arm): Do not print an offset of zero when
132 decoding Immediaate Offset addressing.
133
134 2009-11-18 Sebastian Pop <sebastian.pop@amd.com>
135
136 PR binutils/10973
137 * i386-dis.c (get_vex_imm8): Do not increment codep.
138 Avoid incrementing bytes_before_imm when OP_E_memory
139 has already forwarded the codep pointer.
140 (OP_EX_VexW): Increment codep to skip mod/rm byte.
141
142 2009-11-18 Sebastian Pop <sebastian.pop@amd.com>
143
144 * i386-dis.c (VEX_LEN_XOP_08_A0): Removed.
145 (VEX_LEN_XOP_08_A1): Removed.
146 (xop_table): Remove entries for VEX_LEN_XOP_08_A0 and
147 VEX_LEN_XOP_08_A1.
148 (vex_len_table): Same.
149 * i386-gen.c (CPU_CVT16_FLAGS): Removed.
150 (cpu_flags): Remove field for CpuCVT16.
151 * i386-opc.h (CpuCVT16): Removed.
152 (i386_cpu_flags): Remove bitfield cpucvt16.
153 (i386-opc.tbl): Remove CVT16 instructions.
154 * i386-init.h: Regenerated.
155 * i386-tbl.h: Regenerated.
156
157 2009-11-17 Sebastian Pop <sebastian.pop@amd.com>
158 Quentin Neill <quentin.neill@amd.com>
159
160 * i386-dis.c (OP_Vex_2src_1): New.
161 (OP_Vex_2src_2): New.
162 (Vex_2src_1): New.
163 (Vex_2src_2): New.
164 (XOP_08): Added.
165 (VEX_LEN_XOP_08_A0): Added.
166 (VEX_LEN_XOP_08_A1): Added.
167 (VEX_LEN_XOP_09_80): Added.
168 (VEX_LEN_XOP_09_81): Added.
169 (xop_table): Added an entry for XOP_08. Handle xop instructions.
170 (vex_len_table): Added entries for VEX_LEN_XOP_08_A0,
171 VEX_LEN_XOP_08_A1, VEX_LEN_XOP_09_80, VEX_LEN_XOP_09_81.
172 (get_valid_dis386): Handle XOP_08.
173 (OP_Vex_2src): New.
174 * i386-gen.c (cpu_flag_init): Add CPU_XOP_FLAGS and CPU_CVT16_FLAGS.
175 (cpu_flags): Add CpuXOP and CpuCVT16.
176 (opcode_modifiers): Add XOP08, Vex2Sources.
177 * i386-opc.h (CpuXOP): Added.
178 (CpuCVT16): Added.
179 (i386_cpu_flags): Add cpuxop and cpucvt16.
180 (XOP08): Added.
181 (Vex2Sources): Added.
182 (i386_opcode_modifier): Add xop08, vex2sources.
183 * i386-opc.tbl: Add entries for XOP and CVT16 instructions.
184 * i386-init.h: Regenerated.
185 * i386-tbl.h: Regenerated.
186
187 2009-11-17 Nick Clifton <nickc@redhat.com>
188
189 PR binutils/10924
190 * arm-dis.c (arm_opcodes): Add patterns to match undefined LDRB
191 instruction variants. Add pattern for MRS variant that was being
192 confused with CMP.
193 (arm_decode_shift): Place error message in a comment.
194 (print_insn_arm): Note that writing back to the PC is
195 unpredictable.
196 Only print 'p' variants of cmp/cmn/teq/tst instructions if
197 decoding for pre-V6 architectures.
198
199 2009-11-17 Edward Nevill <edward.nevill@arm.com>
200
201 * arm-dis.c (print_insn_thumb32): Handle undefined instruction.
202
203 2009-11-14 Doug Evans <dje@sebabeach.org>
204
205 * Makefile.am (stamp-xc16x): Use ../cpu/xc16x.cpu instead of
206 ../cgen/cpu.
207 * Makefile.in: Regenerate.
208
209 2009-11-13 H.J. Lu <hongjiu.lu@intel.com>
210
211 * i386-dis.c (OP_E_extended): Removed.
212
213 2009-11-13 H.J. Lu <hongjiu.lu@intel.com>
214
215 * i386-dis.c (print_insn): Check rex_ignored.
216
217 2009-11-13 H.J. Lu <hongjiu.lu@intel.com>
218
219 * i386-dis.c (ckprefix): Updated to return 0 if number of
220 prefixes > 14 and record the last position for each prefix.
221 (lock_prefix): Removed.
222 (data_prefix): Likewise.
223 (addr_prefix): Likewise.
224 (repz_prefix): Likewise.
225 (repnz_prefix): Likewise.
226 (last_lock_prefix): New.
227 (last_repz_prefix): Likewise.
228 (last_repnz_prefix): Likewise.
229 (last_data_prefix): Likewise.
230 (last_addr_prefix): Likewise.
231 (last_rex_prefix): Likewise.
232 (last_seg_prefix): Likewise.
233 (MAX_CODE_LENGTH): Likewise.
234 (ADDR16_PREFIX): Likewise.
235 (ADDR32_PREFIX): Likewise.
236 (DATA16_PREFIX): Likewise.
237 (DATA32_PREFIX): Likewise.
238 (REP_PREFIX): Likewise.
239 (seg_prefix): Likewise.
240 (all_prefixes): Change size to MAX_CODE_LENGTH - 1.
241 (prefix_name): Handle ADDR16_PREFIX, ADDR32_PREFIX,
242 DATA16_PREFIX, DATA32_PREFIX and REP_PREFIX.
243 (get_valid_dis386): Updated.
244 (OP_C): Likewise.
245 (OP_Monitor): Likewise.
246 (REP_Fixup): Likewise.
247 (print_insn): Display all prefixes.
248 (putop): Set PREFIX_DATA on used_prefixes only if it is used.
249 (intel_operand_size): Likewise.
250 (OP_E_register): Likewise.
251 (OP_G): Likewise.
252 (OP_REG): Likewise.
253 (OP_IMREG): Likewise.
254 (OP_I): Likewise.
255 (OP_I64): Likewise.
256 (OP_sI): Likewise.
257 (CRC32_Fixup): Likewise.
258 (MOVBE_Fixup): Likewise.
259 (OP_E_memory): Set REFIX_DATA on used_prefixes when it is used
260 in 16bit mode.
261 (OP_J): Set REX_W used if it is used. Set PREFIX_DATA on
262 used_prefixes only if it is used.
263
264 2009-11-12 H.J. Lu <hongjiu.lu@intel.com>
265
266 * i386-opc.tbl: Remove IsLockable from add, adc, and, dec, inc,
267 or, sbb, sub, xor and xchg with register only operands.
268 * i386-tbl.h: Regenerated.
269
270 2009-11-12 H.J. Lu <hongjiu.lu@intel.com>
271
272 * i386-gen.c (opcode_modifiers): Add IsLockable.
273
274 * i386-opc.h (IsLockable): New.
275 (i386_opcode_modifier): Add islockable.
276
277 * i386-opc.tbl: Add IsLockable to add, adc, and, btc, btr,
278 bts, cmpxchg, cmpxch8b, dec, inc, neg, not, or, sbb, sub,
279 xor, xadd and xchg.
280 * i386-tbl.h: Regenerated.
281
282 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
283
284 * arm-dis.c (coprocessor_opcodes): Use %A instead of %C. Remove
285 generic coprocessor instructions for FPA loads and stores.
286 (print_insn_coprocessor): Remove %C support. Display address for
287 PC-relative offsets in %A.
288
289 2009-11-11 H.J. Lu <hongjiu.lu@intel.com>
290
291 * i386-dis.c (all_prefixes): New.
292 (ckprefix): Set all_prefixes.
293 (print_insn): Print all_prefixes instead of lock_prefix,
294 repz_prefix, repnz_prefix, addr_prefix and data_prefix.
295
296 2009-11-11 Nick Clifton <nickc@redhat.com>
297
298 PR binutils/10924
299 * arm-dis.c (UNPREDICTABLE_INSTRUCTION): New macro.
300 (print_insn_arm): Extend %s format control code to check for
301 unpredictable addressing modes. Add support for %S format control
302 code which suppresses this check.
303 (W_BIT, I_BIT, U_BIT, P_BIT): New macros.
304 (WRITEBACK_BIT_SET, IMMEDIATE_BIT_SET, NEGATIVE_BIT_SET,
305 PRE_BIT_SET): New macros.
306 (print_insn_coprocessor): Use the new macros instead of magic
307 constants.
308 (print_arm_address): Likewise.
309 (pirnt_insn_arm): Likewise.
310 (print_insn_thumb32): Likewise.
311
312 2009-11-11 Nick Clifton <nickc@redhat.com>
313
314 * po/id.po: Updated Indonesian translation.
315
316 2009-11-10 Maxim Kuvyrkov <maxim@codesourcery.com>
317
318 * m68k-dis.c (print_insn_arg): Handle RGPIOBAR, ACR[4-7] and MBAR[01].
319
320 2009-11-06 Sebastian Pop <sebastian.pop@amd.com>
321
322 * i386-dis.c (reg_table): Add XOP_8F_TABLE (XOP_09) to
323 reg_table[REG_8F][1]: for XOP instructions, ModRM.reg first points to
324 B.mm in the RXB.mmmmm byte, and so when B is set, we still should use
325 the xop_table.
326 (get_valid_dis386): Removed unused condition (from cut/n/paste) for
327 XOP instructions.
328
329 2009-11-05 Sebastian Pop <sebastian.pop@amd.com>
330 Quentin Neill <quentin.neill@amd.com>
331
332 * opcodes/i386-dis.c (OP_LWPCB_E): New.
333 (OP_LWP_E): New.
334 (OP_LWP_I): New.
335 (USE_XOP_8F_TABLE): New.
336 (XOP_8F_TABLE): New.
337 (REG_XOP_LWPCB): New.
338 (REG_XOP_LWP): New.
339 (XOP_09): New.
340 (XOP_0A): New.
341 (reg_table): Redirect REG_8F to XOP_8F_TABLE.
342 Add entries for REG_XOP_LWPCB and REG_XOP_LWP.
343 (xop_table): New.
344 (get_valid_dis386): Handle USE_XOP_8F_TABLE.
345 Use the offsets VEX_0F, VEX_0F38, and VEX_0F3A instead of their values
346 to access to the vex_table.
347 (OP_LWPCB_E): New.
348 (OP_LWP_E): New.
349 (OP_LWP_I): New.
350 * opcodes/i386-gen.c (cpu_flag_init): Add CPU_LWP_FLAGS, CpuLWP.
351 (cpu_flags): Add CpuLWP.
352 (opcode_modifiers): Add VexLWP, XOP09, and XOP0A.
353 * opcodes/i386-opc.h (CpuLWP): New.
354 (i386_cpu_flags): Add bit cpulwp.
355 (VexLWP): New.
356 (XOP09): New.
357 (XOP0A): New.
358 (i386_opcode_modifier): Add vexlwp, xop09, and xop0a.
359 * opcodes/i386-opc.tbl (llwpcb): Added.
360 (lwpval): Added.
361 (lwpins): Added.
362
363 2009-11-04 DJ Delorie <dj@redhat.com>
364
365 * rx-decode.opc (rx_decode_opcode) (mvtipl): Add.
366 (mvtcp, mvfcp, opecp): Remove.
367 * rx-decode.c: Regenerate.
368 * rx-dis.c (cpen): Remove.
369
370 2009-11-03 Doug Evans <dje@sebabeach.org>
371
372 * m32c-desc.c: Regenerate.
373 * mep-desc.c: Regenerate.
374
375 2009-11-02 Paul Brook <paul@codesourcery.com>
376
377 * arm-dis.c (coprocessor_opcodes): Update to use new feature flags.
378 Add VFPv4 instructions.
379
380 2009-10-29 Sebastian Pop <sebastian.pop@amd.com>
381
382 * i386-dis.c (OP_VEX_FMA): Removed.
383 (VexFMA): Removed.
384 (Vex128FMA): Removed.
385 (prefix_table): First source operand of FMA4 insns is decoded
386 with Vex not with VexFMA.
387 (OP_EX_VexW): Second source operand is decoded with get_vex_imm8
388 when vex.w is set. Third source operand is decoded with
389
390 2009-10-27 Alan Modra <amodra@bigpond.net.au>
391
392 * Makefile.am (HFILES): Remove cgen-ops.h and cgen-types.h.
393 * Makefile.in: Regenerate.
394 * po/POTFILES.in: Regenerate.
395
396 2009-10-23 Doug Evans <dje@sebabeach.org>
397
398 * cgen-ops.h: Delete, moved to ../include/cgen/basic-ops.h.
399 * cgen-types.h: Delete, moved to ../include/cgen/basic-modes.h.
400 * cgen-bitset.c: Update.
401 * fr30-desc.h: Regenerate.
402 * frv-desc.h: Regenerate.
403 * ip2k-desc.h: Regenerate.
404 * iq2000-desc.h: Regenerate.
405 * lm32-desc.h: Regenerate.
406 * m32c-desc.h: Regenerate.
407 * m32c-opc.h: Regenerate.
408 * m32r-desc.h: Regenerate.
409 * mep-desc.h: Regenerate.
410 * mt-desc.h: Regenerate.
411 * openrisc-desc.h: Regenerate.
412 * xc16x-desc.h: Regenerate.
413 * xstormy16-desc.h: Regenerate.
414
415 2009-10-22 DJ Delorie <dj@redhat.com>
416
417 * rx-decode.opc (decode_opcode): Fix flags for MUL, SUNTIL, and SWHILE.
418 * rx-decode.c: Regenerated.
419
420 2009-10-20 H.J. Lu <hongjiu.lu@intel.com>
421
422 PR gas/10775
423 * i386-dis.c: Document LB, LS and LV macros.
424 (dis386): Use mov%LB, mov%LS and mov%LV on mov instruction
425 with the 64-bit displacement or immediate operand.
426 (putop): Handle LB, LS and LV macros.
427
428 2009-10-18 Doug Evans <dje@sebabeach.org>
429
430 * lm32-opinst.c: Regenerate.
431 * m32c-desc.c: Regenerate.
432 * m32r-opinst.c: Regenerate.
433 * openrisc-ibld.c: Regenerate.
434 * xc16x-desc.c: Regenerate.
435 * xc16x-desc.h: Regenerate.
436
437 2009-10-17 Doug Evans <dje@sebabeach.org>
438
439 * Makefile.am (CGEN_CPUS): Add iq2000, lm32.
440 (FR30_DEPS, FRV_DEPS, IQ2000_DEPS): Move so all cgen *_DEPS are
441 sorted alphabetically.
442 (stamp-fr30, stamp-frv, stamp-iq2000, stamp-xc16x): Move so all cgen
443 stamp-* rules are sorted alphabetically.
444 * Makefile.in: Regenerate.
445
446 2009-10-16 H.J. Lu <hongjiu.lu@intel.com>
447
448 * i386-opc.h: Use enum instead of nested macros.
449
450 2009-10-16 H.J. Lu <hongjiu.lu@intel.com>
451
452 * i386-dis.c: Simplify enums.
453
454 2009-10-15 H.J. Lu <hongjiu.lu@intel.com>
455 Ineiev <ineiev@gmail.com>
456
457 PR binutils/10767
458 * i386-dis.c: Use enum instead of nested macros.
459
460 2009-10-15 H.J. Lu <hongjiu.lu@intel.com>
461
462 * i386-dis.c (MAX_BYTEMODE): Removed.
463
464 2009-10-14 Tomas Hurka <tom@hukatronic.cz>
465
466 PR 969
467 * m68k-opc.c (m68k_opcodes): Correct mask for macl and msacl.
468
469 2009-10-13 H.J. Lu <hongjiu.lu@intel.com>
470
471 * i386-dis.c (print_insn): Always clear need_vex, need_vex_reg
472 and vex_w_done.
473
474 2009-10-07 Michael Eager <eager@eagercon.com>
475
476 * microblaze-dis.c: Add include for microblaze-dis.h,
477 eliminate local extern decls.
478 * microblaze-dis.h: New.
479
480 2009-10-06 Nick Clifton <nickc@redhat.com>
481
482 * po/fi.po: Updated Finnish translation.
483
484 2009-10-03 Andreas Schwab <schwab@linux-m68k.org>
485
486 * opc2c.c: Include "libiberty.h" and <errno.h>.
487 (orig_filename): Constify.
488 (dump_lines): Fix line number directive.
489 (main): Set orig_filename to basename of input file. Use
490 xstrerror.
491
492 * Makefile.am (rx-dis.lo): Remove explicit dependencies.
493 ($(srcdir)/rx-decode.c): Use @MAINT@. Use $(EXEEXT_FOR_BUILD)
494 instead of $(EXEEXT).
495 (opc2c$(EXEEXT_FOR_BUILD)): Renamed from opc2c$(EXEEXT) and use
496 $(LINK_FOR_BUILD). Link with libiberty.
497 (MOSTLYCLEANFILES): Add opc2c$(EXEEXT_FOR_BUILD).
498 (MAINTAINERCLEANFILES): Add $(srcdir)/rx-decode.c.
499 * Makefile.in: Regenerated.
500 * rx-decode.c: Regenerated.
501
502 2009-10-03 Paul Reed <paulreed@paddedcell.com>
503
504 * arm-dis.c (print_insn): Check symtab_size not *symtab.
505
506 2009-10-02 H.J. Lu <hongjiu.lu@intel.com>
507
508 * i386-opc.tbl: Drop Disp64 on jump and loop instructions.
509 * i386-tbl.h: Regenerated.
510
511 2009-10-02 Peter Bergner <bergner@vnet.ibm.com>
512
513 * ppc-dis.c (ppc_opts): Add "476" entry.
514 * ppc-opc.c (PPC476): Define.
515 (powerpc_opcodes): Update mnemonics where required for 476.
516
517 2009-10-01 Peter Bergner <bergner@vnet.ibm.com>
518
519 * ppc-opc.c (PPCA2): Use renamed mask PPC_OPCODE_A2.
520 * ppc-dis.c (ppc_opts): Likewise.
521 Rename "ppca2" to "a2".
522
523 2009-10-01 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
524
525 * crx-dis.c (match_opcode): Truncate mcode to 32-bit.
526
527 2009-09-29 DJ Delorie <dj@redhat.com>
528
529 * Makefile.am: Add RX files.
530 * configure.in: Add support for RX target.
531 * disassemble.c: Likewise.
532 * Makefile.in: Regenerate.
533 * configure: Regenerate.
534 * opc2c.c: New file.
535 * rx-decode.c: New file.
536 * rx-decode.opc: New file.
537 * rx-dis.c: New file.
538
539 2009-09-29 Peter Bergner <bergner@vnet.ibm.com>
540
541 * ppc-opc.c (powerpc_opcodes): Remove support for the the "lxsdux",
542 "lxvd2ux", "lxvw4ux", "stxsdux", "stxvd2ux" and "stxvw4ux" opcodes.
543
544 2009-09-25 Michael Eager <eager@eagercon.com>
545
546 * microblaze-dis.c (get_insn_microblaze, microblaze_get_target_address,
547 microblaze_decode_insn): Add declarations.
548 (get_delay_slots_microblaze): Remove.
549
550 2009-09-25 Martin Thuresson <martint@google.com>
551
552 Update sources to make arc and arm targets compile cleanly with
553 -Wc++-compat:
554 * arc-dis.c Fix casts.
555 * arc-ext.c: Add casts.
556 * arm-dis.c (enum opcode_sentinel_enum): Gave name to anonymous
557 enum.
558
559 2009-09-24 H.J. Lu <hongjiu.lu@intel.com>
560
561 * i386-gen.c (opcode_modifiers): Remove Vex256.
562 (set_bitfield): Handle XXX=V.
563
564 * i386-opc.h (Vex): Update comments.
565 (Vex256): Removed.
566 (VexNDS): Updated.
567 (i386_opcode_modifier): Change vex to 2 bits. Remove vex256.
568
569 * i386-opc.tbl: Replace "Vex|Vex256" with Vex=2.
570 * i386-tbl.h: Regenerated.
571
572 2009-09-23 Nick Clifton <nickc@redhat.com>
573
574 * po/fr.po: Updated French translation.
575
576 2009-09-21 Ben Elliston <bje@au.ibm.com>
577 Peter Bergner <bergner@vnet.ibm.com>
578
579 * ppc-dis.c (ppc_opts): Add "ppca2" entry.
580 * ppc-opc.c (powerpc_opcodes): Add eratilx, eratsx, eratsx.,
581 eratre, wchkall, eratwe, ldawx., mdfcrx., mfdcr. mtdcrx., icswx,
582 icswx., mtdcr., dci, wclrone, wclrall, wclr, erativax, tlbsrx.,
583 ici mnemonics.
584 (ERAT_T): New operand.
585 (XWC_MASK): New mask.
586 (XOPL2): New macro.
587 (PPCA2): Define.
588
589 2009-09-18 Nick Clifton <nickc@redhat.com>
590
591 * po/es.po: Updated Spanish translation.
592 * po/vi.po: Updated Vietnamese translation.
593
594 2009-09-15 H.J. Lu <hongjiu.lu@intel.com>
595
596 * i386-dis.c (OP_E_memory): Don't print '-' in Intel mode if
597 disp == -disp.
598
599 2009-09-14 Nick Clifton <nickc@redhat.com>
600
601 * po/nl.po: Updated Dutch translation.
602
603 2009-09-11 Nick Clifton <nickc@redhat.com>
604
605 * po/opcodes.pot: Updated by the Translation project.
606
607 2009-09-11 Martin Thuresson <martint@google.com>
608
609 Updated sources to compile cleanly with -Wc++-compat:
610 * ld.h (enum endian_enum,enum symbolic_enum,enum dynamic_list_enum): Move to top level.
611 * ldcref.c: Add casts.
612 * ldctor.c: Add casts.
613 * ldexp.c
614 * ldexp.h (enum node_tree_enum,enum phase_enum): Move to top level.
615 * ldlang.c: Add casts. (lang_insert_orphan): Use enum name instead of integer.
616 * ldlang.h (enum statement_enum): Move to top level.
617 * ldmain.c: Add casts.
618 * ldwrite.c: Add casts.
619 * lexsup.c: Add casts. (enum control_enum): Move to top level.
620 * mri.c: Add casts. (mri_draw_tree): Use enum name instead of integer.
621
622 2009-09-10 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
623
624 * s390-dis.c (print_insn_s390): Avoid 'long long'.
625
626 2009-09-10 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
627
628 * s390-dis.c (s390_extract_operand): Remove the shift for pcrel operands.
629 (print_insn_s390): Signextend and shift pcrel operands before printing.
630
631 2009-09-09 H.J. Lu <hongjiu.lu@intel.com>
632
633 * i386-dis.c (vex_len_table): Change VEX_LEN_AE_R_X_M0 to
634 VEX_LEN_AE_R_X_M_0 in comments.
635
636 2009-09-08 DJ Delorie <dj@redhat.com>
637
638 * mep-opc.c: Regenerate.
639
640 2009-09-08 Andreas Schwab <schwab@linux-m68k.org>
641
642 * z8kgen.c (struct op): Replace unused flavor with id.
643 (opt): Remove extra xorb entry.
644 (func): Use id field as fallback.
645 (sub): Return new string, caller changed.
646 (internal): Allocate end marker. Assign unique id before sorting.
647 (gas): Likewise. Fix loop end condition.
648 * z8k-opc.h: Regenerate.
649
650 2009-09-08 Alan Modra <amodra@bigpond.net.au>
651
652 * ppc-opc.c (powerpc_macros <extrdi>): Allow n+b of 64.
653
654 2009-09-07 Alan Modra <amodra@bigpond.net.au>
655
656 * z8kgen.c (func): Fix thinko last patch.
657
658 2009-09-07 Alan Modra <amodra@bigpond.net.au>
659
660 * z8kgen.c (func): Stabilize qsort of identically named entries.
661 * z8k-opc.h: Regenerate.
662
663 2009-09-07 Tristan Gingold <gingold@adacore.com>
664
665 * po/opcodes.pot: Regenerate.
666
667 2009-09-07 Alan Modra <amodra@bigpond.net.au>
668
669 * configure.in (BUILD_LIBS, BUILD_LIB_DEPS): Define and subst.
670 * configure: Regenerate.
671 * Makefile.am (LIBIBERTY, BUILD_LIBIBERTY, BUILD_LIBINTL): Delete.
672 (BUILD_LIBS, BUILD_LIB_DEPS): Define. Use..
673 (i386-gen, ia64-gen, z8kgen): ..here.
674 * Makefile.in: Regenerate.
675
676 2009-09-07 Tristan Gingold <gingold@adacore.com>
677
678 * z8k-opc.h: Regenerate.
679
680 2009-09-05 Martin Thuresson <martin@mtme.org>
681
682 * ia64-dis.c (print_insn_ia64): Update code to use renamed member.
683 * m88k-dis.c (m88kdis): Rename variable class to in_class.
684 * tic80-opc.c (tic80_symbol_to_value, tic80_value_to_symbol):
685 Rename argument class to symbol_class.
686
687 2009-09-04 Jie Zhang <jie.zhang@analog.com>
688
689 * bfin-dis.c (decode_pseudodbg_assert_0): Change according
690 to the new encoding of DBGA, DBGAH, and DBGAL.
691 (_print_insn_bfin): Likewise.
692
693 2009-09-03 Jie Zhang <jie.zhang@analog.com>
694
695 * bfin-dis.c (_print_insn_bfin): Don't declare.
696 (print_insn_bfin): Don't declare.
697 (dregs_pair): Remove.
698 (ignore_bits): Remove.
699 (ccstat): Remove.
700
701 2009-09-03 Jie Zhang <jie.zhang@analog.com>
702
703 * bfin-dis.c (IS_DREG): Define.
704 (IS_PREG): Define.
705 (IS_AREG): Define.
706 (IS_GENREG): Define.
707 (IS_DAGREG): Define.
708 (IS_SYSREG): Define.
709 (decode_REGMV_0): Check illegal register move instructions.
710
711 2009-09-03 Dave Korn <dave.korn.cygwin@gmail.com>
712
713 * Makefile.am (BUILD_LIBINTL): New variable.
714 (i386-gen$(EXEEXT_FOR_BUILD)): Use it.
715 (ia64-gen$(EXEEXT_FOR_BUILD)): And here.
716 (z8kgen$(EXEEXT_FOR_BUILD)): And here.
717 * Makefile.in: Regenerate.
718
719 2009-09-01 DJ Delorie <dj@redhat.com>
720
721 * mep-asm.c: Regenerate.
722 * mep-desc.c: Regenerate.
723 * mep-opc.c: Regenerate.
724
725 2009-09-01 Tristan Gingold <gingold@adacore.com>
726
727 * makefile.vms: Ported to Itanium VMS. Remove useless targets and
728 dependencies. Remove unused FORMAT variable.
729 * configure.com: New file to create build.com DCL script for
730 Itanium VMS or Alpha VMS.
731
732 2009-08-29 Martin Thuresson <martin@mtme.org>
733
734 * cris-dis.c (bytes_to_skip): Update code to use new name.
735 * i386-dis.c (putop): Update code to use new name.
736 * i386-gen.c (process_i386_opcodes): Update code to use
737 new name.
738 * i386-opc.h (struct template): Rename struct template to
739 insn_template. Update code accordingly.
740 * i386-tbl.h (i386_optab): Update type to use new name.
741 * ia64-dis.c (print_insn_ia64): Rename variable template
742 to template_val.
743 * tic30-dis.c (struct instruction, get_tic30_instruction):
744 Update code to use new name.
745 * tic54x-dis.c (has_lkaddr, get_insn_size)
746 (print_parallel_instruction, print_insn_tic54x, tic54x_get_insn):
747 Update code to use new name.
748 * tic54x-opc.c (tic54x_unknown_opcode, tic54x_optab):
749 Update type to new name.
750 * z8kgen.c (internal, gas): Rename variable new to new_op.
751
752 2009-08-28 H.J. Lu <hongjiu.lu@intel.com>
753
754 * Makefile.am (COMPILE_FOR_BUILD): Remove BUILD_CPPFLAGS.
755 Replace BUILD_CFLAGS with CFLAGS_FOR_BUILD.
756 (LINK_FOR_BUILD): Replace BUILD_CFLAGS/BUILD_LDFLAGS with
757 CFLAGS_FOR_BUILD/LDFLAGS_FOR_BUILD.
758 * Makefile.in: Regenerated.
759
760 2009-08-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
761
762 * Makefile.am (bfdlibdir, bfdincludedir): Move definition ...
763 [INSTALL_LIBBFD]: ... here, ...
764 [INSTALL_LIBBFD]: ... and empty overrides here.
765 [!INSTALL_LIBBFD]: (rpath_bfdlibdir): New variable.
766 [!INSTALL_LIBBFD] (libbfd_la_LDFLAGS): Use it.
767 * Makefile.in: Regenerate.
768 * configure: Regenerate.
769
770 2009-08-26 Philippe De Muyter <phdm@macqel.be>
771
772 * m68k-dis.c (print_insn_arg): Add movecr register names for
773 coldfire v4e families.
774
775 2009-08-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
776
777 * Makefile.am (SUBDIRS): Build '.' before 'po'.
778 (COMPILE_FOR_BUILD, LINK_FOR_BUILD, BUILD_LIBIBERTY)
779 (MOSTLYCLEANFILES, MAINTAINERCLEANFILES): New variables.
780 (i386-gen$(EXEEXT_FOR_BUILD)): Renamed from i386-gen, rewrite
781 using *BUILD variables, depend upon $(BUILD_LIBIBERTY).
782 (i386-gen.o): New rule.
783 ($(srcdir)/i386-init.h): Adjust.
784 (i386-opc.lo): Depend on $(srcdir)/i386-tbl.h.
785 (ia64-gen$(EXEEXT_FOR_BUILD)): Rename from ia64-gen, adjust likewise.
786 (ia64-gen.o): New rule.
787 (ia64_asmtab_deps): New variable.
788 ($(srcdir)/ia64-asmtab.c): Use it; adjust likewise.
789 (ia64-opc.lo): Depend on $(srcdir)/ia64-asmtab.c.
790 (s390-mkopc$(EXEEXT_FOR_BUILD)): Rename from s390-mkopc, adjust
791 likewise.
792 (s390-opc.tab): Adjust.
793 (z8kgen$(EXEEXT_FOR_BUILD), z8kgen.o, $(srcdir)/z8k-opc.h): New
794 rules.
795 (z8k-dis.lo): Depend on $(srcdir)/z8k-opc.h.
796 * Makefile.in: Regenerate.
797 * z8kgen.c (gas): Avoid '/*' in comment.
798 * z8k-opc.h (func): Regenerate.
799
800 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
801
802 * Makefile.am (TARGET_LIBOPCODES_CFILES): New variable, taken
803 from $(CFILES), sorted, with dis-buf.c, dis-init.c, disassemble.c,
804 i386-gen.c, ia64-opc-a.c, ia64-opc-b.c, ia64-opc-f.c, ia64-opc-i.c,
805 ia64-opc-m.c, ia64-opc-d.c, ia64-gen.c, ia64-asmtab.c removed, and
806 msp430-dis.c added.
807 (LIBOPCODES_CFILES): New variable, adding to
808 TARGET_LIBOPCODES_CFILES also non-target library sources.
809 (CFILES): Factorize based on $(LIBOPCODES_CFILES), adding generator
810 files.
811 (ALL_MACHINES): Factorize based on $(TARGET_LIBOPCODES_CFILES).
812 (EXTRA_libopcodes_la_SOURCES): Use $(LIBOPCODES_CFILES).
813 * Makefile.in: Regenerate.
814 * po/POTFILES.in: Regenerate.
815
816 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
817
818 * Makefile.am (libopcodes_la_LDFLAGS): Initialize early.
819 [INSTALL_LIBBFD] (bfdlib_LTLIBRARIES): Set only in this condition.
820 [INSTALL_LIBBFD] (bfdinclude_DATA): New.
821 [!INSTALL_LIBBFD] (noinst_LTLIBRARIES): New.
822 [!INSTALL_LIBBFD] (libopcodes_la_LDFLAGS): Ensure libopcodes.la
823 is built shared even if it is not to be installed.
824 (install-bfdlibLTLIBRARIES,uninstall-bfdlibLTLIBRARIES)
825 (install_libopcodes, uninstall_libopcodes): Remove.
826 (AM_CPPFLAGS): Renamed from ...
827 (INCLUDES): ... this.
828 * Makefile.in: Regenerate.
829
830 * Makefile.am (AUTOMAKE_OPTIONS): Remove 1.9 and cygnus, add
831 1.11, foreign, no-dist.
832 (MKDEP, m32c_opc_h): Remove variables.
833 (disassemble.lo): Rewrite using automake-style dependency
834 tracking rules; only list the dependency upon the primary source
835 file, but no included headers.
836 (m32c-asm.lo, m32c-desc.lo, m32c-dis.lo, m32c-ibld.lo, m32c-opc.lo)
837 (i386-gen.o, ia64-gen.o): Remove dependency statements.
838 (EXTRA_libopcodes_la_SOURCES): New variable, list $(CFILES) to
839 ensure all dependency fragments are included in the Makefile.
840 (s390-opc.lo): Depend on s390-opc.tab.
841 (DEP, DEP1, dep.sed, dep, dep-in, dep-am): Remove rules.
842 (mkdep section): Remove.
843 * Makefile.in: Regenerate.
844 * po/POTFILES.in: Regenerate.
845
846 * Makefile.am (install-pdf, install-html): Remove.
847 * Makefile.in: Regenerate.
848
849 * Makefile.in: Regenerate.
850 * aclocal.m4: Likewise.
851 * config.in: Likewise.
852 * configure: Likewise.
853
854 2009-08-06 Michael Eager <eager@eagercon.com>
855
856 * Makefile.am: Add microblaze-opc.h to HFILES, microblaze-dis.c to
857 CFILES, microblaze-dis.lo to ALL_MACHINES, targets.
858 * Makefile.in: Regenerate.
859 * configure.in: Add bfd_microblaze_arch target.
860 * configure: Regenerate.
861 * disassemble.c: Define ARCH_microblaze, return
862 print_insn_microblaze().
863 * microblaze-dis.c: New MicroBlaze disassembler.
864 * microblaze-opc.h: New MicroBlaze opcode definitions.
865 * microblaze-opcm.h: New MicroBlaze opcode types.
866
867 2009-07-25 H.J. Lu <hongjiu.lu@intel.com>
868
869 * configure.in: Handle bfd_l1om_arch.
870 * disassemble.c (disassembler): Likewise.
871
872 * configure: Regenerated.
873
874 * i386-dis.c (print_insn): Handle bfd_mach_l1om and
875 bfd_mach_l1om_intel_syntax. Use 8 bytes per line for Intel L1OM.
876
877 * i386-gen.c (cpu_flag_init): Set CPU_UNKNOWN_FLAGS to ~CpuL1OM.
878 Add CPU_L1OM_FLAGS.
879 (cpu_flags): Add CpuL1OM.
880 (set_bitfield): Take an argument to set the value field.
881 (process_i386_cpu_flag): Support ~CpuXXX and ~(CpuXXX|CpuYYY).
882 (process_i386_opcode_modifier): Updated.
883 (process_i386_operand_type): Likewise.
884 * i386-init.h: Regenerated.
885 * i386-tbl.h: Likewise.
886
887 * i386-opc.h (CpuL1OM): New.
888 (CpuXsave): Updated.
889 (i386_cpu_flags): Add cpul1om.
890
891 2009-07-24 Jan Beulich <jbeulich@novell.com>
892
893 * i386-dis.c (fgrps): Correct annotation for feni/fdisi. Add
894 frstpm.
895 * i386-gen.c (cpu_flag_init): Add FP enabling flags where needed.
896 (cpu_flags): Add Cpu8087, Cpu287, Cpu387, Cpu687, and CpuFISTTP.
897 (set_bitfield): Expand CpuFP to Cpu8087|Cpu287|Cpu387.
898 * i386-opc.h (Cpu8087, Cpu287, Cpu387, Cpu687, CpuFISTTP):
899 Define.
900 (union i386_cpu_flags): Add cpu8087, cpu287, cpu387, cpu687,
901 and cpufisttp.
902 * i386-opc.tbl: Qualify floating point instructions by their
903 respective CpuXXX flag. Fix fucom{,p,pp}, fprem1, fsin, fcos,
904 and fsincos to be avilable only on 387. Fix fstsw ax to be
905 available only on 287+. Add f{,n}eni, f{,n}disi, f{,n}setpm,
906 and frstpm.
907 * i386-init.h, i386-tbl.h: Regenerate.
908
909 2009-07-20 Nick Clifton <nickc@redhat.com>
910
911 PR 10288
912 * arm-dis.c (arm_opcodes): Catch non-zero bits 8-11 in register
913 offset or indexed based addressing mode 3.
914
915 2009-07-14 Nick Clifton <nickc@redhat.com>
916
917 PR 10288
918 * arm-dis.c (arm_opcodes): Catch illegal Addressing Mode 1
919 patterns.
920 (arm_decode_shift): Catch illegal register based shifts.
921 (print_insn_arm): Properly handle negative register r0
922 post-indexed addressing.
923
924 2009-07-10 Doug Kwan <dougkwan@google.com>
925
926 * arm-disc.c (print_insn_coprocessor, print_insn_arm): Print only
927 lower 32 bits of long types to make hexadecimal output consistent
928 on both 32-bit and 64-bit hosts.
929
930 2009-07-10 Alan Modra <amodra@bigpond.net.au>
931
932 * fr30-desc.c, * fr30-desc.h, * fr30-opc.c, * fr30-opc.h,
933 * frv-desc.c, * frv-desc.h, * frv-opc.c, * frv-opc.h,
934 * ip2k-desc.c, * ip2k-desc.h, * ip2k-opc.c, * ip2k-opc.h,
935 * iq2000-desc.c, * iq2000-desc.h, * iq2000-opc.c, * iq2000-opc.h,
936 * lm32-desc.c, * lm32-desc.h, * lm32-opc.c, * lm32-opc.h,
937 * lm32-opinst.c, * m32c-desc.c, * m32c-desc.h, * m32c-opc.c,
938 * m32c-opc.h, * m32r-desc.c, * m32r-desc.h, * m32r-opc.c,
939 * m32r-opc.h, * m32r-opinst.c, * mt-desc.c, * mt-desc.h,
940 * mt-opc.c, * mt-opc.h, * openrisc-desc.c, * openrisc-desc.h,
941 * openrisc-opc.c, * openrisc-opc.h, * xc16x-desc.c, * xc16x-desc.h,
942 * xc16x-opc.c, * xc16x-opc.h, * xstormy16-desc.c, * xstormy16-desc.h,
943 * xstormy16-opc.c, * xstormy16-opc.h: Regenerate.
944
945 2009-07-07 Chung-Lin Tang <cltang@pllab.cs.nthu.edu.tw>
946
947 * arm-dis.c (coprocessor_opcodes): Fix mask for waddbhus.
948
949 2009-07-07 Nick Clifton <nickc@redhat.com>
950
951 PR 10288
952 * arm-dis.c (arm_opcodes): Be more strict about decoding scaled
953 addressing modes.
954
955 2009-07-06 DJ Delorie <dj@redhat.com>
956
957 * mep-desc.c: Regenerate.
958 * mep-desc.h: Regenerate.
959 * mep-opc.c: Regenerate.
960 * mep-opc.h: Regenerate.
961
962 2009-07-06 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
963
964 * i386-opc.h (CpuFMA4): Add CpuFMA4.
965 (i386_cpu_flags): New.
966 * i386-gen.c: Add CPU_FMA4_FLAGS.
967 * i386-opc.tbl: Add FMA4 instructions.
968 * i386-tbl.h: Regenerate.
969 * i386-init.h: Regenerate.
970 * i386-dis.c (OP_VEX_FMA): New. Handle FMA4.
971 (OP_XMM_VexW): Ditto.
972 (OP_EX_VexW): Ditto.
973 (VEXI4_Fixup): Ditto.
974 (VexI4, VexFMA, Vex128FMA, EXVexW, EXdVexW, XMVexW): New Macros.
975 (PREFIX_VEX_3A5C, PREFIX_VEX_3A5D, PREFIX_VEX_3A5E): New.
976 (PREFIX_VEX_3A5F, PREFIX_VEX_3A60): New.
977 (PREFIX_VEX_3A68, PREFIX_VEX_3A69, PREFIX_VEX_3A6A): New.
978 (PREFIX_VEX_3A6B, PREFIX_VEX_3A6C, PREFIX_VEX_3A6D): New.
979 (PREFIX_VEX_3A6E, PREFIX_VEX_3A6F, PREFIX_VEX_3A7A): New.
980 (PREFIX_VEX_3A7B, PREFIX_VEX_3A7C, PREFIX_VEX_3A7D): New.
981 (PREFIX_VEX_3A7E, PREFIX_VEX_3A7F): New.
982 (VEX_LEN_3A6A_P_2,VEX_LEN_3A6B_P_2, VEX_LEN_3A6E_P_2): New.
983 (VEX_LEN_3A6F_P_2,VEX_LEN_3A7A_P_2, VEX_LEN_3A7B_P_2): New.
984 (VEX_LEN_3A7E_P_2,VEX_LEN_3A7F_P_2): New.
985 (get_vex_imm8): New. handle FMA4.
986 (OP_EX_VexReg): Ditto.
987
988 2009-06-30 Nick Clifton <nickc@redhat.com>
989
990 PR 10288
991 * arm-dis.c (coprocessor): Print the LDC and STC versions of the
992 LFM and SFM instructions as comments,.
993 Improve consistency of formatting for instructions displayed as
994 comments and decimal values displayed with their hexadecimal
995 equivalents.
996 Formatting tidy ups.
997
998 2009-06-29 Nick Clifton <nickc@redhat.com>
999
1000 PR 10288
1001 * arm-dis.c (enum opcode_sentinels): New: Used to mark the
1002 boundary between variaant and generic coprocessor instuctions.
1003 (coprocessor): Use it.
1004 Fix architecture version of MCRR and MRRC instructions.
1005 (arm_opcdes): Fix patterns for STRB and STRH instructions.
1006 (print_insn_coprocessor): Check architecture and extension masks.
1007 Print a hexadecimal version of any decimal constant that is
1008 outside of the range of -16 to +32.
1009 (print_arm_address): Add a return value of the offset used in the
1010 adress, if it is worth printing a hexadecimal version of it.
1011 (print_insn_neon): Print a hexadecimal version of any decimal
1012 constant that is outside of the range of -16 to +32.
1013 (print_insn_arm): Likewise.
1014 (print_insn_thumb16): Likewise.
1015 (print_insn_thumb32): Likewise.
1016
1017 PR 10297
1018 * arm-dis.c (UNDEFINED_INSTRUCTION): New macro for a description
1019 of an undefined instruction.
1020 (arm_opcodes): Use it.
1021 (thumb_opcod): Use it.
1022 (thumb32_opc): Use it.
1023
1024 2009-06-23 DJ Delorie <dj@redhat.com>
1025
1026 * mep-desc.c: Regenerate.
1027 * mep-desc.h: Regenerate.
1028 * mep-dis.c: Regenerate.
1029 * mep-ibld.c: Regenerate.
1030 * mep-opc.c: Regenerate.
1031
1032 * mep-asm.c: Regenerate.
1033 * mep-opc.c: Regenerate.
1034 * mep-opc.h: Regenerate.
1035
1036 2009-06-22 Nick Clifton <nickc@redhat.com>
1037
1038 * po/fi.po: Updated Finish translation.
1039
1040 2009-06-22 Alan Modra <amodra@bigpond.net.au>
1041
1042 * m32c-asm.c: Regenerate.
1043
1044 2009-06-22 Alan Modra <amodra@bigpond.net.au>
1045
1046 * score-dis.c (print_insn_score48, print_insn_score32): Move default
1047 case label to proper lexical block.
1048 * score7-dis.c (print_insn_score32): Likewise.
1049
1050 2009-06-19 Martin Schwidefsky <sschwidefsky@de.ibm.com>
1051
1052 * s390-opc.c (INSTR_RR_0R_OPT, INSTR_RX_0RRD_OPT, MASK_RR_0R_OPT,
1053 MASK_RX_0RRD_OPT): New instruction formats with optional arguments.
1054 * s390-opc.txt (nopr, nop): Use new instruction format.
1055
1056 2009-06-18 Nick Clifton <nickc@redhat.com>
1057
1058 PR 10288
1059 * arm-dis.c (print_insn_coprocessor): Check that a user specified
1060 ARM architecture supports the matched instruction.
1061 (print_insn_arm): Likewise.
1062 (select_arm_features): New function. Fills in the fields of an
1063 arm_feature_set structure based on a given arm machine number.
1064 (print_insn): Initialise an arm_feature_set structure.
1065
1066 2009-06-16 Maciej W. Rozycki <macro@linux-mips.org>
1067
1068 * vax-dis.c (is_function_entry): Return success for synthetic
1069 symbols too.
1070 (is_plt_tail): New function.
1071 (print_insn_vax): Decode PLT entry offset longword.
1072
1073 2009-06-15 Nick Clifton <nickc@redhat.com>
1074
1075 PR 10186
1076 * arm-dis.c (thumb32_opcodes): Fix binary value of SEV.W
1077 instruction.
1078
1079 PR 10173
1080 * cr16-dis.c (print_arg): Avoid printing the 0x prefix twice.
1081
1082 2009-06-15 Nick Clifton <nickc@redhat.com>
1083
1084 PR 10263
1085 * arm-dis.c (print_insn): Ignore is_data if the user has requested
1086 the disassembly of data as well as instructions.
1087
1088 2009-06-11 Doug Evans <dje@sebabeach.org>
1089
1090 * cgen.sh: Handle multiple simultaneous runs for parallel makes.
1091
1092 2009-06-11 Anthony Green <green@moxielogic.com>
1093
1094 * moxie-opc.c (moxie_form1_opc_info): Remove branch instructions.
1095 (moxie_form3_opc_info): Add branch instructions.
1096 * moxie-dis.c (print_insn_moxie): Disassemble MOXIE_F3_PCREL
1097 encoded instructions.
1098
1099 2009-06-06 Anthony Green <green@moxielogic.com>
1100
1101 * moxie-opc.c: Recode some MOXIE_F1_4 opcodes as MOXIE_F1_M.
1102 * moxie-dis.c (print_insn_moxie): Handle MOXIE_F1_M case.
1103
1104 2009-06-04 Alan Modra <amodra@bigpond.net.au>
1105
1106 * dep-in.sed: Don't use \n in replacement part of s command.
1107 * Makefile.am (DEP1): LC_ALL for uniq.
1108 * Makefile.in: Regenerate.
1109
1110 2009-06-02 Nick Clifton <nickc@redhat.com>
1111
1112 * po/nl.po: Updated Dutch translation.
1113
1114 2009-06-02 Tristan Gingold <gingold@adacore.com>
1115
1116 * ia64-gen.c (parse_resource_users, print_dependency_table,
1117 add_dis_table_ent, finish_distable, insert_bit_table_ent,
1118 add_dis_entry, compact_distree, gen_dis_table, completer_entries_eq,
1119 get_prefix_len, compute_completer_bits, insert_opcode_dependencies,
1120 insert_completer_entry, print_completer_entry, print_completer_table,
1121 opcodes_eq, add_opcode_entry, shrink): Use ISO C syntax for functions.
1122
1123 2009-05-28 DJ Delorie <dj@redhat.com>
1124
1125 * mep-asm.c: Regenerate.
1126 * mep-desc.c: Regenerate.
1127
1128 2009-05-26 DJ Delorie <dj@redhat.com>
1129
1130 * mep-asm.c: Regenerate.
1131 * mep-desc.c: Regenerate.
1132 * mep-desc.h: Regenerate.
1133 * mep-dis.c: Regenerate.
1134 * mep-ibld.c: Regenerate.
1135 * mep-opc.c: Regenerate.
1136 * mep-opc.h: Regenerate.
1137
1138 2009-05-26 Nick Clifton <nickc@redhat.com>
1139
1140 * po/id.po: Updated Indonesian translation.
1141 * po/opcodes.pot: Updated template file.
1142
1143 2009-05-26 Alan Modra <amodra@bigpond.net.au>
1144
1145 * dep-in.sed: Don't modify .o to .lo here. Output one filename
1146 per line with all lines having continuation backslash. Prefix
1147 first line with "A", following lines with "B".
1148 * Makefile.am (DEP): Don't use dep.sed here.
1149 (DEP1): Run $MKDEP on single files, modify .o to .lo here. Use
1150 dep.sed here on dependencies, sort and uniq.
1151 * Makefile.in: Regenerate.
1152
1153 2009-05-25 Tristan Gingold <gingold@adacore.com>
1154
1155 * makefile.vms (OPT): New variable.
1156 (CFLAGS): Update compilation flags.
1157
1158 2009-05-22 DJ Delorie <dj@redhat.com>
1159
1160 * mep-asm.c: Regenerate.
1161 * mep-desc.c: Regenerate.
1162 * mep-desc.h: Regenerate.
1163 * mep-dis.c: Regenerate.
1164 * mep-ibld.c: Regenerate.
1165 * mep-opc.c: Regenerate.
1166 * mep-opc.h: Regenerate.
1167
1168 2009-05-22 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
1169
1170 * i386-opc.h (Cpusse5): Delete.
1171 (i386_cpu_flags): Delete.
1172 * i386-gen.c: Remove CpuSSE5, Drex, Drexv and Drexc.
1173 * i386-opc.tbl: Remove SSE5 instructions.
1174 * i386-tbl.h: Regenerate.
1175 * i386-init.h: Regenerate.
1176 * i386-dis.c (OP_E_memeory, OP_E_extended): Remove drex handling.
1177 (print_drex_arg): Delete.
1178 (OP_DREX4): Delete.
1179 (OP_DREX3): Delete.
1180 (OP_DREX_ICMP): Delete.
1181 (OP_DREX_FCMP): Delete.
1182 (DREX_*): Delete.
1183 (THREE_BYTE_0F24, THREE_BYTE_0F25, THREE_BYTE_0f7B): Delete.
1184
1185 2009-05-22 Alan Modra <amodra@bigpond.net.au>
1186
1187 * Makefile.am: Run "make dep-am".
1188 * Makefile.in: Regenerate.
1189 * po/POTFILES.in: Regenerate.
1190
1191 2009-05-19 DJ Delorie <dj@redhat.com>
1192
1193 * mep-asm.c: Regenerate.
1194 * mep-opc.c: Regenerate.
1195
1196 2009-04-30 DJ Delorie <dj@redhat.com>
1197
1198 * mep-asm.c: Regenerate.
1199 * mep-desc.c: Regenerate.
1200 * mep-desc.h: Regenerate.
1201 * mep-dis.c: Regenerate.
1202 * mep-ibld.c: Regenerate.
1203 * mep-opc.c: Regenerate.
1204 * mep-opc.h: Regenerate.
1205
1206 2009-04-17 DJ Delorie <dj@redhat.com
1207
1208 * mep-desc.c: Regenerate.
1209 * mep-ibld.c: Regenerate.
1210 * mep-opc.c: Regenerate.
1211 * mep-opc.h: Regenerate.
1212
1213 2009-04-15 Anthony Green <green@moxielogic.com>
1214
1215 * moxie-opc.c, moxie-dis.c: Created.
1216 * Makefile.am: Build the moxie source files.
1217 * configure.in: Add moxie support.
1218 * Makefile.in, configure: Rebuilt.
1219 * disassemble.c (disassembler): Add moxie support.
1220 (ARCH_moxie): Define.
1221
1222 2009-04-15 Jan Beulich <jbeulich@novell.com>
1223
1224 * i386-opc.tbl (protb, protw, protd, protq): Set opcode
1225 extension to None.
1226 (pshab, pshaw, pshad, pshaq): Likewise.
1227 * i386-tbl.h: Re-generate.
1228
1229 2009-04-08 DJ Delorie <dj@redhat.com
1230
1231 * mep-asm.c: Regenerate.
1232 * mep-desc.c: Regenerate.
1233 * mep-desc.h: Regenerate.
1234 * mep-dis.c: Regenerate.
1235 * mep-ibld.c: Regenerate.
1236 * mep-opc.c: Regenerate.
1237 * mep-opc.h: Regenerate.
1238
1239 2009-04-07 Peter Bergner <bergner@vnet.ibm.com>
1240
1241 * ppc-opc.c (powerpc_opcodes) <"tlbilxlpid", "tlbilxpid", "tlbilxva",
1242 "tlbilx">: Use secondary opcode "18" as per the ISA 2.06 documentation.
1243 Reorder entries so the extended mnemonics are listed before tlbilx.
1244
1245 2009-04-02 Peter Bergner <bergner@vnet.ibm.com>
1246
1247 * ppc-dis.c (powerpc_init_dialect): Do not choose a default dialect
1248 due to -many/-Many.
1249 (print_insn_powerpc): Make sure we only deprecate instructions using
1250 the original dialect and not a modified dialect due to -Many handling.
1251 Move the handling of the condition register and default operands to
1252 the end of the if/else if/else chain.
1253 * ppc-opc.c (powerpc_opcodes): Reorder the opcode table so that
1254 instructions from newer processors are listed before older ones.
1255 <"icblce", "sync", "eieio", "tlbld">: Deprecate for processors
1256 that have instructions with conflicting opcodes.
1257
1258 2009-04-01 Peter Bergner <bergner@vnet.ibm.com>
1259
1260 * ppc-opc.c (powerpc_opcodes) <"dcbzl">: Merge the POWER4 and
1261 E500MC entries.
1262
1263 2009-04-01 Christophe Lyon <christophe.lyon@st.com>
1264
1265 * arm-dis.c (print_insn): Print BE8 opcodes in little endianness.
1266
1267 2009-03-30 Joseph Myers <joseph@codesourcery.com>
1268
1269 * arm-dis.c (print_insn): Also check section matches in backwards
1270 search for mapping symbol.
1271
1272 2009-03-26 H.J. Lu <hongjiu.lu@intel.com>
1273
1274 * i386-dis.c (get_valid_dis386): Abort on unhandled table.
1275
1276 2009-03-18 Alan Modra <amodra@bigpond.net.au>
1277
1278 * cgen-opc.c: Include alloca-conf.h rather than alloca.h.
1279 * Makefile.am: Run "make dep-am".
1280 * Makefile.in: Regenerate.
1281 * openrisc-opc.c: Regenerate.
1282
1283 2009-03-10 Nick Clifton <nickc@redhat.com>
1284
1285 * po/id.po: Updated Indonesian translation.
1286
1287 2009-03-10 Alan Modra <amodra@bigpond.net.au>
1288
1289 * ppc-dis.c: Include "opintl.h".
1290 (struct ppc_mopt, ppc_opts): New.
1291 (ppc_parse_cpu): New function.
1292 (powerpc_init_dialect): Use it.
1293 (print_ppc_disassembler_options): Dump options from ppc_opts.
1294 Internationalize message.
1295
1296 2009-03-06 Nick Clifton <nickc@redhat.com>
1297
1298 * po/es.po: Updated Spanish translation.
1299
1300 2009-03-04 Alan Modra <amodra@bigpond.net.au>
1301
1302 PR 6768
1303 * configure.in: Test for ld --as-needed support. Link shared
1304 libopcodes against libm.
1305 * configure: Regenerate.
1306
1307 2009-03-03 Peter Bergner <bergner@vnet.ibm.com>
1308
1309 * ppc-opc.c (powerpc_opcodes): Reorder the opcode table so that
1310 instructions from newer processors are listed before older ones.
1311
1312 2009-03-03 Alan Modra <amodra@bigpond.net.au>
1313
1314 * Makefile.am: Run "make dep-am".
1315 (HFILES): Move lm32-desc.h and lm32-opc.h from..
1316 (CFILES): ..here.
1317 * Makefile.in: Regenerate.
1318
1319 2009-03-02 Qinwei <qinwei@sunnorth.com.cn>
1320
1321 * score7-dis.c: New file.
1322 * Makefile.am: Add dependencies for score7-dis.c.
1323 * Makefile.in: Regenerate.
1324 * configure.in: Add score7-dis to score files.
1325 * configure: Regenerate.
1326 * score-dis.c: Add support for score7 architecture.
1327 * score-opc.h: Likewise.
1328
1329 2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1330
1331 * configure: Regenerate.
1332
1333 2009-02-27 H.J. Lu <hongjiu.lu@intel.com>
1334
1335 * i386-dis.c (OP_EX): Call OP_E_memory instead of OP_E.
1336
1337 2009-02-26 Peter Bergner <bergner@vnet.ibm.com>
1338
1339 * ppc-dis.c (powerpc_init_dialect): Extend -Mpower7 to disassemble
1340 the power7 and the isel instructions.
1341 * ppc-opc.c (insert_xc6, extract_xc6): New static functions.
1342 (insert_dm, extract_dm): Likewise.
1343 (XB6): Update comment to include XX2 form.
1344 (WC, XC6, SHW, DMEX, UIM, XX2, XX3RC, XX4, XX2_MASK, XX2UIM_MASK,
1345 XX2BF_MASK, XX3BF_MASK, XX3SHW_MASK, XX4_MASK, XWC_MASK, POWER7): New.
1346 (RemoveXX3DM): Delete.
1347 (powerpc_opcodes): <"lfdp", "lfdpx", "mcrxr", "mftb", "mffgpr",
1348 "mftgpr">: Deprecate for POWER7.
1349 <"fres", "fres.", "frsqrtes", "frsqrtes.", "fre", "fre.", "frsqrte",
1350 "frsqrte.">: Deprecate the three operand form and enable the two
1351 operand form for POWER7 and later.
1352 <"wait">: Extend to accept optional parameter. Enable for POWER7.
1353 <"waitsrv", "waitimpl">: Add extended opcodes.
1354 <"ldbrx", "stdbrx">: Enable for POWER7.
1355 <"cdtbcd", "cbcdtd", "addg6s">: Add POWER6 opcodes.
1356 <"bpermd", "dcbtstt", "dcbtt", "dcffix.", "dcffix", "divde.", "divde",
1357 "divdeo.", "divdeo", "divdeu.", "divdeu", "divdeuo.", "divdeuo",
1358 "divwe.", "divwe", "divweo.", "divweo", "divweu.", "divweu", "divweuo.",
1359 "divweuo", "fcfids.", "fcfids", "fcfidu.", "fcfidu", "fcfidus.",
1360 "fcfidus", "fctidu.", "fctidu", "fctiduz.", "fctiduz", "fctiwu.",
1361 "fctiwu", "fctiwuz.", "fctiwuz", "ftdiv", "ftsqrt", "lbarx", "lfiwzx",
1362 "lharx", "popcntd", "popcntw", "stbcx.", "sthcx.">: Add POWER7 opcodes.
1363 <"lxsdux", "lxsdx", "lxvdsx", "lxvw4ux", "lxvw4x", "stxsdux", "stxsdx",
1364 "stxvw4ux", "stxvw4x", "xsabsdp", "xsadddp", "xscmpodp", "xscmpudp",
1365 "xscpsgndp", "xscvdpsp", "xscvdpsxds", "xscvdpsxws", "xscvdpuxds",
1366 "xscvdpuxws", "xscvspdp", "xscvsxddp", "xscvuxddp", "xsdivdp",
1367 "xsmaddadp", "xsmaddmdp", "xsmaxdp", "xsmindp", "xsmsubadp",
1368 "xsmsubmdp", "xsmuldp", "xsnabsdp", "xsnegdp", "xsnmaddadp",
1369 "xsnmaddmdp", "xsnmsubadp", "xsnmsubmdp", "xsrdpi", "xsrdpic",
1370 "xsrdpim", "xsrdpip", "xsrdpiz", "xsredp", "xsrsqrtedp", "xssqrtdp",
1371 "xssubdp", "xstdivdp", "xstsqrtdp", "xvabsdp", "xvabssp", "xvadddp",
1372 "xvaddsp", "xvcmpeqdp.", "xvcmpeqdp", "xvcmpeqsp.", "xvcmpeqsp",
1373 "xvcmpgedp.", "xvcmpgedp", "xvcmpgesp.", "xvcmpgesp", "xvcmpgtdp.",
1374 "xvcmpgtdp", "xvcmpgtsp.", "xvcmpgtsp", "xvcpsgnsp", "xvcvdpsp",
1375 "xvcvdpsxds", "xvcvdpsxws", "xvcvdpuxds", "xvcvdpuxws", "xvcvspdp",
1376 "xvcvspsxds", "xvcvspsxws", "xvcvspuxds", "xvcvspuxws", "xvcvsxddp",
1377 "xvcvsxdsp", "xvcvsxwdp", "xvcvsxwsp", "xvcvuxddp", "xvcvuxdsp",
1378 "xvcvuxwdp", "xvcvuxwsp", "xvdivdp", "xvdivsp", "xvmaddadp",
1379 "xvmaddasp", "xvmaddmdp", "xvmaddmsp", "xvmaxdp", "xvmaxsp",
1380 "xvmindp", "xvminsp", "xvmovsp", "xvmsubadp", "xvmsubasp", "xvmsubmdp",
1381 "xvmsubmsp", "xvmuldp", "xvmulsp", "xvnabsdp", "xvnabssp", "xvnegdp",
1382 "xvnegsp", "xvnmaddadp", "xvnmaddasp", "xvnmaddmdp", "xvnmaddmsp",
1383 "xvnmsubadp", "xvnmsubasp", "xvnmsubmdp", "xvnmsubmsp", "xvrdpi",
1384 "xvrdpic", "xvrdpim", "xvrdpip", "xvrdpiz", "xvredp", "xvresp",
1385 "xvrspi", "xvrspic", "xvrspim", "xvrspip", "xvrspiz", "xvrsqrtedp",
1386 "xvrsqrtesp", "xvsqrtdp", "xvsqrtsp", "xvsubdp", "xvsubsp", "xvtdivdp",
1387 "xvtdivsp", "xvtsqrtdp", "xvtsqrtsp", "xxland", "xxlandc", "xxlnor",
1388 "xxlor", "xxlxor", "xxmrghw", "xxmrglw", "xxsel", "xxsldwi", "xxspltd",
1389 "xxspltw", "xxswapd">: Add VSX opcodes.
1390
1391 2009-02-23 H.J. Lu <hongjiu.lu@intel.com>
1392
1393 * i386-gen.c (operand_type_init): Remove OPERAND_TYPE_VEX_IMM4.
1394 (operand_types): Remove Vex_Imm4.
1395
1396 * i386-opc.h (Vex_Imm4): Removed.
1397 (OTMax): Updated.
1398 (i386_operand_type): Remove vex_imm4.
1399
1400 * i386-opc.tbl: Remove Vex_Imm4 comments.
1401 * i386-init.h: Regenerated.
1402 * i386-tbl.h: Likewise.
1403
1404 2009-02-23 Richard Earnshaw <rearnsha@arm.com>
1405
1406 * arm-dis.c (neon_opcodes): Correct bit-mask and patterns for
1407 vq{r}shr{u}n.s64 insnstructions.
1408
1409 2009-02-19 Peter Bergner <bergner@vnet.ibm.com>
1410
1411 * ppc-opc.c (powerpc_opcodes) <"lfdepx", "stfdepx">: Fix the first
1412 operand to be a float point register (FRT/FRS).
1413
1414 2009-02-18 Adam Nemet <anemet@caviumnetworks.com>
1415
1416 * mips-opc.c (mips_builtin_opcodes): Move the Octeon-specific
1417 dmfc2 and dmtc2 before the architecture-level variants.
1418
1419 2009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
1420
1421 * fr30-opc.c: Regenerate.
1422 * frv-opc.c: Regenerate.
1423 * ip2k-opc.c: Regenerate.
1424 * iq2000-opc.c: Regenerate.
1425 * lm32-opc.c: Regenerate.
1426 * m32c-opc.c: Regenerate.
1427 * m32r-opc.c: Regenerate.
1428 * mep-opc.c: Regenerate.
1429 * mt-opc.c: Regenerate.
1430 * xc16x-opc.c: Regenerate.
1431 * xstormy16-opc.c: Regenerate.
1432 * tic54x-dis.c (print_instruction): Avoid compiler warning on
1433 sprintf call.
1434
1435 2009-02-12 Nathan Sidwell <nathan@codesourcery.com>
1436
1437 * m68k-opc.c (m68k_opcodes): Add stldsr instruction.
1438
1439 2009-02-05 Peter Bergner <bergner@vnet.ibm.com>
1440
1441 * ppc-opc.c: Update copyright year.
1442 (powerpc_opcodes) <"dcbt", "dcbtst">: Deprecate the Embedded operand
1443 ordering for POWER4 and later and use the correct Server ordering.
1444
1445 2009-02-04 H.J. Lu <hongjiu.lu@intel.com>
1446
1447 AVX Programming Reference (January, 2009)
1448 * i386-dis.c (PREFIX_VEX_3A44): New.
1449 (VEX_LEN_3A44_P_2): Likewise.
1450 (PREFIX_VEX_3A48): Updated.
1451 (VEX_LEN_3A4C_P_2): Likewise.
1452 (prefix_table): Add PREFIX_VEX_3A44.
1453 (vex_table): Likewise.
1454 (vex_len_table): Add VEX_LEN_3A44_P_2.
1455
1456 * i386-opc.tbl: Add PCLMUL + AVX instructions.
1457 * i386-tbl.h: Regenerated.
1458
1459 2009-02-03 Sandip Matte <sandip@rmicorp.com>
1460
1461 * mips-dis.c (mips_cp0_names_xlr, mips_cp0sel_names_xlr): Define.
1462 (mips_arch_choices): Add XLR entry.
1463 * mips-opc.c (XLR): Define.
1464 (mips_builtin_opcodes): Add XLR instructions.
1465
1466 2009-02-03 Carlos O'Donell <carlos@codesourcery.com>
1467
1468 * Makefile.am: Add install-pdf target.
1469 * po/Make-in: Add install-pdf target.
1470 * Makefile.in: Regenerate.
1471
1472 2009-02-02 DJ Delorie <dj@redhat.com>
1473
1474 * mep-asm.c: Regenerate.
1475 * mep-desc.c: Regenerate.
1476 * mep-desc.h: Regenerate.
1477 * mep-dis.c: Regenerate.
1478 * mep-ibld.c: Regenerate.
1479 * mep-opc.c: Regenerate.
1480 * mep-opc.h: Regenerate.
1481
1482 2009-01-29 Mark Mitchell <mark@codesourcery.com>
1483
1484 * arm-dis.c (thumb32_opcodes): Correct decoding for qadd, qdadd,
1485 qsub, and qdsub.
1486
1487 2009-01-28 Chao-ying Fu <fu@mips.com>
1488
1489 * mips-opc.c (suxc1): Add the flag of FP_D.
1490
1491 2009-01-20 Alan Modra <amodra@bigpond.net.au>
1492
1493 * fr30-asm.c, fr30-dis.c, fr30-ibld.c, frv-asm.c, frv-dis.c,
1494 * frv-ibld.c, ip2k-asm.c, ip2k-dis.c, ip2k-ibld.c,
1495 * iq2000-asm.c, iq2000-dis.c, iq2000-ibld.c, m32c-asm.c,
1496 * m32c-dis.c, m32c-ibld.c, m32r-asm.c, m32r-dis.c,
1497 * m32r-ibld.c, mep-asm.c, mep-dis.c, mep-ibld.c, mt-asm.c,
1498 * mt-dis.c, mt-ibld.c, openrisc-asm.c, openrisc-dis.c,
1499 * openrisc-ibld.c, xc16x-asm.c, xc16x-dis.c, xc16x-ibld.c,
1500 * xstormy16-asm.c, xstormy16-dis.c, xstormy16-ibld.c: Regenerate.
1501
1502 2009-01-16 Alan Modra <amodra@bigpond.net.au>
1503
1504 * configure.in (commonbfdlib): Delete.
1505 (SHARED_LIBADD): Add pic libiberty if such is available.
1506 * configure: Regenerate.
1507 * po/POTFILES.in: Regenerate.
1508
1509 2009-01-14 Peter Bergner <bergner@vnet.ibm.com>
1510
1511 * ppc-dis.c (print_insn_powerpc): Skip insn if it is deprecated.
1512 * ppc-opc.c (powerpc_opcodes) <mtfsf, mtfsf.>: Deprecate the two
1513 operand form and enable the four operand form for POWER6 and later.
1514 <mtfsfi, mtfsfi.>: Deprecate the two operand form and enable the
1515 three operand form for POWER6 and later.
1516
1517 2009-01-14 Mike Frysinger <vapier@gentoo.org>
1518
1519 * bfin-dis.c (OUTS): Use "%s" as format string.
1520
1521 2009-01-13 H.J. Lu <hongjiu.lu@intel.com>
1522
1523 * i386-gen.c (cpu_flag_init): Remove a white space.
1524 (operand_type_init): Likewise.
1525
1526 2009-01-12 H.J. Lu <hongjiu.lu@intel.com>
1527
1528 * i386-opc.tbl: Add NoAVX to movnti, lfence and mfence.
1529 * i386-tbl.h: Regenerated.
1530
1531 2009-01-12 H.J. Lu <hongjiu.lu@intel.com>
1532
1533 * i386-dis.c (dis386): Use EbS on addB, orB, adcB, sbbB, andB,
1534 subB, xorB and cmpB. Use EvS on addS, orS, adcS, sbbS, andS,
1535 subS, xorS and cmpS.
1536
1537 2009-01-10 H.J. Lu <hongjiu.lu@intel.com>
1538
1539 * i386-gen.c (cpu_flag_init): Replace CpuP4 and CpuK6 with
1540 CpuClflush and CpuSYSCALL, respectively. Remove CpuK8. Add
1541 CPU_COREI7_FLAGS, CPU_CLFLUSH_FLAGS and CPU_SYSCALL_FLAGS.
1542 (cpu_flags): Remove CpuP4, CpuK6 and CpuK8. Add CpuClflush
1543 and CpuSYSCALL.
1544 (lineno): Removed.
1545 (set_bitfield): Take an argument, lineno. Don't report lineno
1546 on error if it is -1.
1547 (process_i386_cpu_flag): Take an argument, lineno.
1548 (process_i386_opcode_modifier): Likewise.
1549 (process_i386_operand_type): Likewise.
1550 (output_i386_opcode): Likewise.
1551 (opcode_hash_entry): Add lineno.
1552 (process_i386_opcodes): Updated.
1553 (process_i386_registers): Likewise.
1554 (process_i386_initializers): Likewise.
1555
1556 * i386-opc.h (CpuP4): Removed.
1557 (CpuK6): Likewise.
1558 (CpuK8): Likewise.
1559 (CpuClflush): New.
1560 (CpuSYSCALL): Likewise.
1561 (CpuMMX): Updated.
1562 (i386_cpu_flags): Remove cpup4, cpuk6 and cpuk8. Add
1563 cpuclflush and cpusyscall.
1564
1565 * i386-opc.tbl: Update movnti, clflush, lfence, mfence, pause,
1566 syscall and sysret.
1567 * i386-init.h: Regenerated.
1568 * i386-tbl.h: Likewise.
1569
1570 2009-01-09 H.J. Lu <hongjiu.lu@intel.com>
1571
1572 * i386-gen.c (cpu_flag_init): Add CpuRdtscp to CPU_K8_FLAGS
1573 and CPU_AMDFAM10_FLAGS. Add CPU_RDTSCP_FLAGS.
1574 (cpu_flags): Add CpuRdtscp.
1575 (set_bitfield): Remove CpuSledgehammer check.
1576
1577 * i386-opc.h (CpuRdtscp): New.
1578 (CpuLM): Updated.
1579 (i386_cpu_flags): Add cpurdtscp.
1580
1581 * i386-opc.tbl: Replace CpuSledgehammer with CpuRdtscp.
1582 * i386-init.h: Regenerated.
1583 * i386-tbl.h: Likewise.
1584
1585 2009-01-09 Peter Bergner <bergner@vnet.ibm.com>
1586
1587 * ppc-opc.c (PPCNONE): Define.
1588 (NOPOWER4): Delete.
1589 (powerpc_opcodes): Initialize the new "deprecated" field.
1590
1591 2009-01-06 H.J. Lu <hongjiu.lu@intel.com>
1592
1593 AVX Programming Reference (December, 2008)
1594 * i386-dis.c (VEX_LEN_2B_M_0): Removed.
1595 (VEX_LEN_E7_P_2_M_0): Likewise.
1596 (VEX_LEN_2C_P_1): Updated.
1597 (VEX_LEN_E8_P_2): Likewise.
1598 (vex_len_table): Remove VEX_LEN_2B_M_0 and VEX_LEN_E7_P_2_M_0.
1599 (mod_table): Likewise.
1600
1601 * i386-opc.tbl: Add 256bit vmovntdq, vmovntpd and vmovntps.
1602 * i386-tbl.h: Regenerated.
1603
1604 2009-01-05 H.J. Lu <hongjiu.lu@intel.com>
1605
1606 * i386-gen.c (process_copyright): Update for 2009.
1607
1608 * i386-init.h: Regenerated.
1609 * i386-tbl.h: Likewise.
1610
1611 2009-01-05 H.J. Lu <hongjiu.lu@intel.com>
1612
1613 AVX Programming Reference (December, 2008)
1614 * i386-dis.c (OP_VEX_FMA): Removed.
1615 (OP_EX_VexW): Likewise.
1616 (OP_EX_VexImmW): Likewise.
1617 (OP_XMM_VexW): Likewise.
1618 (VEXI4_Fixup): Likewise.
1619 (VPERMIL2_Fixup): Likewise.
1620 (VexI4): Likewise.
1621 (VexFMA): Likewise.
1622 (Vex128FMA): Likewise.
1623 (EXVexW): Likewise.
1624 (EXdVexW): Likewise.
1625 (EXqVexW): Likewise.
1626 (EXVexImmW): Likewise.
1627 (XMVexW): Likewise.
1628 (VPERMIL2): Likewise.
1629 (PREFIX_VEX_3A48...PREFIX_VEX_3A4A): Likewise.
1630 (PREFIX_VEX_3A5C...PREFIX_VEX_3A5F): Likewise.
1631 (PREFIX_VEX_3A68...PREFIX_VEX_3A6F): Likewise.
1632 (PREFIX_VEX_3A78...PREFIX_VEX_3A7F): Likewise.
1633 (VEX_LEN_3A6A_P_2...VEX_LEN_3A6F_P_2): Likewise.
1634 (VEX_LEN_3A7A_P_2...VEX_LEN_3A7F_P_2): Likewise.
1635 (get_vex_imm8): Likewise.
1636 (OP_EX_VexReg): Likewise.
1637 vpermil2_op): Likewise.
1638 (EXVexWdq): New.
1639 (vex_w_dq_mode): Likewise.
1640 (PREFIX_VEX_3896...PREFIX_VEX_389F): Likewise.
1641 (PREFIX_VEX_38A6...PREFIX_VEX_38AF): Likewise.
1642 (PREFIX_VEX_38B6...PREFIX_VEX_38BF): Likewise.
1643 (es_reg): Updated.
1644 (PREFIX_VEX_38DB): Likewise.
1645 (PREFIX_VEX_3A4A): Likewise.
1646 (PREFIX_VEX_3A60): Likewise.
1647 (PREFIX_VEX_3ADF): Likewise.
1648 (VEX_LEN_3ADF_P_2): Likewise.
1649 (prefix_table): Remove PREFIX_VEX_3A48...PREFIX_VEX_3A4A,
1650 PREFIX_VEX_3A5C...PREFIX_VEX_3A5F,
1651 PREFIX_VEX_3A68...PREFIX_VEX_3A6F and
1652 PREFIX_VEX_3A78...PREFIX_VEX_3A7F. Add
1653 PREFIX_VEX_3896...PREFIX_VEX_389F,
1654 PREFIX_VEX_38A6...PREFIX_VEX_38AF and
1655 PREFIX_VEX_38B6...PREFIX_VEX_38BF.
1656 (vex_table): Likewise.
1657 (vex_len_table): Remove VEX_LEN_3A6A_P_2...VEX_LEN_3A6F_P_2
1658 and VEX_LEN_3A7A_P_2...VEX_LEN_3A7F_P_2.
1659 (putop): Support "%XW".
1660 (intel_operand_size): Handle vex_w_dq_mode.
1661
1662 * i386-opc.h (VexNDS): Add a comment for VEX NDS and VEX DDS.
1663
1664 * i386-opc.tbl: Remove vpermil2pd/vpermil2ps and old FMA
1665 instructions. Add new FMA instructions.
1666 * i386-tbl.h: Regenerated.
1667
1668 2009-01-02 Matthias Klose <doko@ubuntu.com>
1669
1670 * or32-opc.c (or32_print_register, or32_print_immediate,
1671 disassemble_insn): Don't rely on undefined sprintf behaviour.
1672
1673 For older changes see ChangeLog-2008
1674 \f
1675 Local Variables:
1676 mode: change-log
1677 left-margin: 8
1678 fill-column: 74
1679 version-control: never
1680 End: