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