3 * ia64.h (IA64_OPCODE_POSTINC): New.
7 * i386.h: Swap the Intel syntax "movsx"/"movzx" due to the
12 * avr.h (AVR_UNDEF_P, AVR_SKIP_P, AVR_DISP0_P): New macros.
13 Move related opcodes closer to each other.
14 Minor changes in comments, list undefined opcodes.
18 * cgen.h (cgen_hw_lookup_by_num): Second parameter is unsigned.
26 * avr.h (AVR_ISA_WRAP): Remove, now assumed if not AVR_ISA_MEGA.
27 (AVR_ISA_ESPM): Remove, because ESPM removed in databook update.
28 (AVR_ISA_85xx): Remove, all uses changed back to AVR_ISA_2xxx.
29 (AVR_ISA_M83): Define for ATmega83, ATmega85.
30 (espm): Remove, because ESPM removed in databook update.
31 (eicall, eijmp): Move to the end of opcode table.
35 * m68hc11.h: New file for support of Motorola 68hc11.
39 * avr.h: clr,lsl,rol, ... moved after add,adc, ...
43 * avr.h: New file with AVR opcodes.
47 * d10v.h: added ALONE attribute for d10v_opcode.exec_type.
51 * i386.h: Allow d suffix on iret, and add DefaultSize modifier.
55 * i386.h: Use sl_FP, not sl_Suf for fild.
59 * cgen.h (CGEN_MAX_SYNTAX_BYTES): Increase to 32. Check that
60 it exceeds CGEN_ACTUAL_MAX_SYNTAX_BYTES, if set.
61 (CGEN_MAX_IFMT_OPERANDS): Increase to 16. Check that it exceeds
62 CGEN_ACTUAL_MAX_IFMT_OPERANDS, if set.
66 * i386.h (i386_optab): Cpu686 for sysenter,sysexit,fxsave,fxrestore.
71 * i386.h (i386_optab): Add cpu_flags for all instructions.
76 * i386.h (wld_Suf): Define. Use on pushf, popf, pusha, popa.
84 * ppc.h (PPC_OPCODE_ALTIVEC): New opcode flag for vector unit.
85 (PPC_OPERAND_VR): New operand flag for vector registers.
89 * h8300.h (EOP): Add missing initializer.
93 * hppa.h (pa_opcodes): New opcodes for PA2.0 wide mode
94 forms of ld/st{b,h,w,d} and fld/fst{w,d} (16-bit displacements).
95 New operand types l,y,&,fe,fE,fx added to support above forms.
96 (pa_opcodes): Replaced usage of 'x' as source/target for
97 floating point double-word loads/stores with 'fx'.
108 * d30v.h (SHORT_A1): Fix value.
109 (SHORT_AR): Renumber so that it is at the end of the list of short
110 instructions, not the end of the list of long instructions.
114 * i386.h: (UNIXWARE_COMPAT): Rename to SYSV386_COMPAT as the
115 problem isn't really specific to Unixware.
116 (OLDGCC_COMPAT): Define.
117 (i386_optab): If !OLDGCC_COMPAT, don't handle fsubp etc. with
119 Fix lots of comments.
124 (SHORT_B2r, SHORT_B3, SHORT_B3r, SHORT_B3b, SHORT_B3br): Updated.
125 (SHORT_D1r, SHORT_D2, SHORT_D2r, SHORT_D2Br, SHORT_U): Updated.
126 (SHORT_F, SHORT_AF, SHORT_T, SHORT_A5, SHORT_CMP, SHORT_CMPU): Updated.
127 (SHORT_A1, SHORT_AA, SHORT_RA, SHORT_MODINC, SHORT_MODDEC): Updated.
128 (SHORT_C1, SHORT_C2, SHORT_UF, SHORT_A2, SHORT_NONE, LONG): Updated.
129 (LONG_U, LONG_Ur, LONG_CMP, LONG_M, LONG_M2, LONG_2, LONG_2r): Updated.
130 (LONG_2b, LONG_2br, LONG_D, LONG_Dr, LONG_Dbr): Updated.
134 * i386.h (fild, fistp): Change intel d_Suf form to fildd and
135 fistpd without suffix.
139 * cgen.h (cgen_cpu_desc): Rename field 'flags' to
140 'signed_overflow_ok_p'.
141 Delete prototypes for cgen_set_flags() and cgen_get_flags().
145 * cgen.h (CGEN_INSN_MACH_HAS_P): New macro.
146 (CGEN_CPU_TABLE): flags: new field.
147 Add prototypes for new functions.
151 * i386.h: Add some more UNIXWARE_COMPAT comments.
159 * mips.h: (OPCODE_IS_MEMBER): Add comment.
163 * mips.h (OPCODE_IS_MEMBER): Add gp32 arg, which determines
164 whether synthetic opcodes (e.g. move) generate 32-bit or 64-bit
169 * i386.h: Qualify intel mode far call and jmp with x_Suf.
173 * i386.h: Add JumpAbsolute qualifier to all non-intel mode
174 indirect jumps and calls. Add FF/3 call for intel mode.
178 * mn10300.h: Add new operand types. Add new instruction formats.
182 * hppa.h (pa_opcodes): Correctly handle immediate for PA2.0 "bb"
187 * mips.h (INSN_ISA5): New.
191 * mips.h (OPCODE_IS_MEMBER): New.
195 * d30v.h (SHORT_AR): Define.
199 * alpha.h (alpha_num_opcodes): Convert to unsigned.
200 (alpha_num_operands): Ditto.
204 * hppa.h (pa_opcodes): Add load and store cache control to
205 instructions. Add ordered access load and store.
207 * hppa.h (pa_opcode): Add new entries for addb and addib.
209 * hppa.h (pa_opcodes): Fix cmpb and cmpib entries.
211 * hppa.h (pa_opcodes): Add entries for cmpb and cmpib.
215 * d10v.h: Add flag RESTRICTED_NUM3 for imm3 operands.
219 * hppa.h (pa_opcodes): Add "call" and "ret". Clean up "b", "bve"
220 and "be" using completer prefixes.
222 * hppa.h (pa_opcodes): Add initializers to silence compiler.
224 * hppa.h: Update comments about character usage.
228 * hppa.h (pa_opcodes): Fix minor thinkos introduced while cleaning
229 up the new fstw & bve instructions.
233 * hppa.h (pa_opcodes): Add remaining PA2.0 integer load/store
236 * hppa.h (pa_opcodes): Add remaining PA2.0 FP load/store instructions.
238 * hppa.h (pa_opcodes): Add long offset double word load/store
241 * hppa.h (pa_opcodes): Add FLAG_STRICT variants of FP loads and
244 * hppa.h (pa_opcodes): Handle PA2.0 fcnv, fcmp and ftest insns.
246 * hppa.h (pa_opcodes): Finish support for PA2.0 "b" instructions.
248 * hppa.h (pa_opcodes): Handle PA2.0 "bve" instructions.
250 * hppa.h (pa_opcodes): Add new syntax "be" instructions.
252 * hppa.h (pa_opcodes): Note use of 'M' and 'L'.
254 * hppa.h (pa_opcodes): Add support for "b,l".
256 * hppa.h (pa_opcodes): Add support for "b,gate".
260 * hppa.h (pa_opcodes): Use 'fX' for first register operand
263 * hppa.h (pa_opcodes): Fix mask for probe and probei.
265 * hppa.h (pa_opcodes): Fix mask for depwi.
269 * hppa.h (pa_opcodes): Add "addil" variant which has the %r1 as
270 an explicit output argument.
274 * hppa.h: Add strict variants of PA1.0/PA1.1 loads and stores.
275 Add a few PA2.0 loads and store variants.
283 * i386.h (i386_regtab): Move %st to top of table, and split off
284 other fp reg entries.
285 (i386_float_regtab): To here.
289 * hppa.h (pa_opcodes): Replace 'f' by 'v'. Prefix float register args
292 * hppa.h (pa_opcodes): Add extrd, extrw, depd, depdi, depw, depwi.
295 * hppa.h: Document new completers and args.
296 * hppa.h (pa_opcodes): Add 64 bit patterns and pa2.0 syntax for uxor,
297 uaddcm, dcor, addi, add, sub, subi, shladd, rfi, and probe. Add pa2.0
298 extensions for ssm, rsm, pdtlb, pitlb. Add performance instructions
301 * hppa.h (pa_opcodes): Add pa2.0 instructions hadd, hshl,
302 hshr, hsub, mixh, mixw, permh.
304 * hppa.h (pa_opcodes): Change completers in instructions to
307 * hppa.h (pa_opcodes): Add popbts, new forms of bb, havg,
308 hshladd, hshradd, shrpd, and shrpw instructions. Update arg comments.
310 * hppa.h (pa_opcodes): Change fmpyfadd, fmpynfadd, fneg,
311 fnegabs to use 'I' instead of 'F'.
315 * i386.h: Add AMD athlon instructions, pfnacc, pfpnacc, pswapd.
316 Document pf2iw and pi2fw as athlon insns. Remove pswapw.
317 Alphabetically sort PIII insns.
321 * cgen.h (CGEN_INSN_MACH_HAS_P): New macro.
325 * hppa.h (pa_opcodes): Add 64 bit versions of or, xor, and,
326 and andcm. Add 32 and 64 bit version of cmpclr, cmpiclr.
328 * hppa.h: Document 64 bit condition completers.
332 * hppa.h (pa_opcodes): Change condition args to use '?' prefix.
336 * i386.h (i386_optab): Add DefaultSize modifier to all insns
337 that implicitly modify %esp. #undef d_Suf, x_suf, sld_suf,
338 sldx_suf, bwld_Suf, d_FP, x_FP, sld_FP, sldx_FP at end of table.
343 * hppa.h (pa_opcodes): Add "pushnom" and "pushbts".
345 * hppa.h (pa_opcodes): Mark all PA2.0 opcodes with FLAG_STRICT.
347 * hppa.h (pa_opcodes): Change xmpyu, fmpyfadd,
348 and fmpynfadd to use 'J' and 'K' instead of 'E' and 'X'.
352 * i386.h: Add "undocumented" AMD 3DNow! pf2iw, pi2fw, pswapw insns.
356 * hppa.h (struct pa_opcode): Add new field "flags".
357 (FLAGS_STRICT): Define.
362 * hppa.h (pa_opcodes): Add pa2.0 clrbts instruction.
364 * hppa.h (pa_opcodes): Add entries for mfia and mtsarcm instructions.
368 * i386.h: Allow `l' suffix on bswap. Allow `w' suffix on arpl,
369 lldt, lmsw, ltr, str, verr, verw. Add FP flag to fcmov*. Add FP
370 flag to fcomi and friends.
374 * hppa.h (pa_opcodes): Move integer arithmetic instructions after
375 integer logical instructions.
379 * m68k.h: Document new formats `E', `G', `H' and new places `N',
382 * m68k.h: Define mcf5206e, mcf5307, mcf. Document new format `u'
383 and new places `m', `M', `h'.
387 * hppa.h (pa_opcodes): Add several processor specific system
392 * hppa.h (pa_opcodes): Add second entry for "comb", "comib",
393 "addb", and "addib" to be used by the disassembler.
397 * i386.h (ReverseModrm): Remove all occurences.
398 (InvMem): Add to control/debug/test mov insns, movhlps, movlhps,
399 movmskps, pextrw, pmovmskb, maskmovq.
400 Change NoSuf to FP on all MMX, XMM and AMD insns as these all
401 ignore the data size prefix.
403 * i386.h (i386_optab, i386_regtab): Add support for PIII SIMD.
408 * ppc.h (PPC_OPCODE_64_BRIDGE): New.
412 * cgen.h (CGEN_ATTR): Delete member num_nonbools.
413 (CGEN_ATTR_TYPE): Update.
414 (CGEN_ATTR_MASK): Number booleans starting at 0.
415 (CGEN_ATTR_VALUE): Update.
416 (CGEN_INSN_ATTR): Update.
420 * hppa.h (fmpyfadd, fmpynfadd, fneg, fnegabs): New PA2.0
425 * hppa.h (bb, bvb): Tweak opcode/mask.
430 * cgen.h (CGEN_ISA,CGEN_MACH): New typedefs.
431 (struct cgen_cpu_desc): Rename member mach to machs. New member isas.
432 New members word_bitsize,default_insn_bitsize,base_insn-bitsize,
433 min_insn_bitsize,max_insn_bitsize,isa_table,mach_table,rebuild_tables.
434 Delete member max_insn_size.
435 (enum cgen_cpu_open_arg): New enum.
436 (cpu_open): Update prototype.
437 (cpu_open_1): Declare.
438 (cgen_set_cpu): Delete.
442 * cgen.h (CGEN_HW_TABLE): Delete `num_init_entries' member.
443 (CGEN_OPERAND_NIL): New macro.
444 (CGEN_OPERAND): New member `type'.
445 (@arch@_cgen_operand_table): Delete decl.
446 (CGEN_OPERAND_INDEX,CGEN_OPERAND_TYPE,CGEN_OPERAND_ENTRY): Delete.
447 (CGEN_OPERAND_TABLE): New struct.
448 (cgen_operand_lookup_by_name,cgen_operand_lookup_by_num): Declare.
449 (CGEN_OPINST): Pointer to operand table entry replaced with enum.
450 (CGEN_CPU_TABLE): New member `isa'. Change member `operand_table',
451 now a CGEN_OPERAND_TABLE. Add CGEN_CPU_DESC arg to
452 {get,set}_{int,vma}_operand.
453 (@arch@_cgen_cpu_open): New arg `isa'.
454 (cgen_set_cpu): Ditto.
458 * i386.h: Fill in cmov and fcmov alternates. Add fcomi short forms.
462 * cgen.h (enum cgen_asm_type): Add CGEN_ASM_NONE.
463 (CGEN_HW_ENTRY): Delete member `next'. Change type of `type' to
465 (CGEN_HW_TABLE): New struct.
466 (hw_table): Delete declaration.
467 (CGEN_OPERAND): Change member hw to hw_type, change type from pointer
468 to table entry to enum.
469 (CGEN_OPINST): Ditto.
470 (CGEN_CPU_TABLE): Change member hw_list to hw_table.
474 * alpha.h (AXP_OPCODE_EV6): New.
475 (AXP_OPCODE_NOPAL): Include it.
479 * cgen.h (CGEN_CPU_DESC): Renamed from CGEN_OPCODE_DESC.
480 All uses updated. New members int_insn_p, max_insn_size,
481 parse_operand,insert_operand,extract_operand,print_operand,
482 sizeof_fields,set_fields_bitsize,get_int_operand,set_int_operand,
483 get_vma_operand,set_vma_operand,parse_handlers,insert_handlers,
484 extract_handlers,print_handlers.
485 (CGEN_ATTR): Change type of num_nonbools to unsigned int.
486 (CGEN_ATTR_BOOL_OFFSET): New macro.
487 (CGEN_ATTR_MASK): Subtract it to compute bit number.
488 (CGEN_ATTR_VALUE): Redo bool/nonbool attr calculation.
489 (cgen_opcode_handler): Renamed from cgen_base.
490 (CGEN_HW_ATTR_VALUE): Renamed from CGEN_HW_ATTR, all uses updated.
491 (CGEN_OPERAND_ATTR_VALUE): Renamed from CGEN_OPERAND_ATTR,
493 (CGEN_OPERAND_INDEX): Rewrite to use table entry, not global.
494 (enum cgen_opinst_type): Renamed from cgen_operand_instance_type.
495 (CGEN_IFLD_ATTR_VALUE): Renamed from CGEN_IFLD_ATTR, all uses updated.
496 (CGEN_OPCODE,CGEN_IBASE): New types.
497 (CGEN_INSN): Rewrite.
498 (CGEN_{ASM,DIS}_HASH*): Delete.
499 (init_opcode_table,init_ibld_table): Declare.
500 (CGEN_INSN_ATTR): New type.
504 * i386.h (d_Suf, x_Suf, sld_Suf, sldx_Suf, bwld_Suf): Define.
505 (x_FP, d_FP, dls_FP, sldx_FP): Define.
506 Change *Suf definitions to include x and d suffixes.
507 (movsx): Use w_Suf and b_Suf.
509 (movs): Use bwld_Suf.
510 (fld): Change ordering. Use sld_FP.
511 (fild): Add Intel Syntax equivalent of fildq.
514 (fstp): Use sld_FP. Add x_FP version.
515 (fistp): LLongMem version for Intel Syntax.
516 (fcom, fcomp): Use sld_FP.
517 (fadd, fiadd, fsub): Use sld_FP.
519 (fmul, fimul, fdvi, fidiv, fdivr): Use sld_FP.
523 * cgen.h (enum cgen_mode): Add CGEN_MODE_TARGET_MAX, CGEN_MODE_INT,
528 * hppa.h (bv): Fix mask.
532 * cgen.h (CGEN_ATTR_VALUE_TYPE): New typedef.
534 (CGEN_ATTR_TYPE,CGEN_ATTR_ENTRY): Ditto.
535 (CGEN_ATTR_TABLE): New member dfault.
539 * mips.h (MIPS16_INSN_BRANCH): New.
543 The following is part of a change made by Edith Epstein
545 changes by HP; HP did not create ChangeLog entries.
547 * hppa.h (completer_chars): list of chars to not put a space
552 * i386.h (i386_optab): Permit w suffix on processor control and
553 status word instructions.
557 * cgen.h (struct cgen_hw_entry): Delete const on attrs member.
558 (struct cgen_keyword_entry): Ditto.
559 (struct cgen_operand): Ditto.
560 (CGEN_IFLD): New typedef, with associated access macros.
561 (CGEN_IFMT): New typedef, with associated access macros.
562 (CGEN_IFMT): Renamed from CGEN_FORMAT. New member `iflds'.
563 (CGEN_IVALUE): New typedef.
564 (struct cgen_insn): Delete const on syntax,attrs members.
565 `format' now points to format data. Type of `value' is now
567 (struct cgen_opcode_table): New member ifld_table.
571 * cgen.h (cgen_extract_fn): Update type of `base_insn' arg.
572 (CGEN_OPERAND_INSTANCE): New member `attrs'.
573 (CGEN_OPERAND_INSTANCE_{ATTRS,ATTR}): New macros.
574 (cgen_dis_lookup_insn): Update type of `base_insn' arg.
575 (cgen_opcode_table): Update type of dis_hash fn.
576 (extract_operand): Update type of `insn_value' arg.
580 * cgen.h (CGEN_VERSION_{MAJOR,MINOR,FIXLEVEL}): Delete.
584 * mips.h (INSN_MULT): Added.
588 * i386.h (MAX_MNEM_SIZE): Rename from MAX_OPCODE_SIZE.
592 * cgen.h (CGEN_INSN_INT): New typedef.
593 (CGEN_INT_INSN_P): Renamed from CGEN_INT_INSN.
594 (CGEN_INSN_BYTES): Renamed from cgen_insn_t.
595 (CGEN_INSN_BYTES_PTR): New typedef.
596 (CGEN_EXTRACT_INFO): New typedef.
597 (cgen_insert_fn,cgen_extract_fn): Update.
598 (cgen_opcode_table): New member `insn_endian'.
599 (assemble_insn,lookup_insn,lookup_get_insn_operands): Update.
600 (insert_operand,extract_operand): Update.
601 (cgen_get_insn_value,cgen_put_insn_value): Add prototypes.
605 * cgen.h (CGEN_ATTR_BOOLS): New macro.
606 (struct CGEN_HW_ENTRY): New member `attrs'.
607 (CGEN_HW_ATTR): New macro.
608 (struct CGEN_OPERAND_INSTANCE): New member `name'.
609 (CGEN_INSN_INVALID_P): New macro.
618 * i386.h (i386_optab): Add AMD 3DNow! instructions.
619 (AMD_3DNOW_OPCODE): Define.
623 * d30v.h (EITHER_BUT_PREFER_MU): Define.
627 * cgen.h (cgen_insn): #if 0 out element `cdx'.
631 Move all global state data into opcode table struct, and treat
632 opcode table as something that is "opened/closed".
633 * cgen.h (CGEN_OPCODE_DESC): New type.
634 (all fns): New first arg of opcode table descriptor.
635 (cgen_set_parse_operand_fn): Add prototype.
636 (cgen_current_machine,cgen_current_endian): Delete.
637 (CGEN_OPCODE_TABLE): New members mach,endian,operand_table,
638 parse_operand_fn,asm_hash_table,asm_hash_table_entries,
639 dis_hash_table,dis_hash_table_entries.
640 (opcode_open,opcode_close): Add prototypes.
642 * cgen.h (cgen_insn): New element `cdx'.
646 * d30v.h (FLAG_LKR): New flag for "left-kills-right" instructions.
650 * mn10300.h: Add "no_match_operands" field for instructions.
651 (MN10300_MAX_OPERANDS): Define.
655 * cgen.h (cgen_macro_insn_count): Declare.
659 * cgen.h (CGEN_VERSION_{MAJOR,MINOR,FIXLEVEL}): Define.
660 (cgen_insert_fn,cgen_extract_fn): New arg `pc'.
661 (get_operand,put_operand): Replaced with get_{int,vma}_operand,
662 set_{int,vma}_operand.
666 * mn10300.h: Add "machine" field for instructions.
667 (MN103, AM30): Define machine types.
671 * i386.h: Use FP, not sl_Suf, for fxsave and fxrstor.
675 * i386.h: Add support for fxsave, fxrstor, sysenter and sysexit.
679 * i386.h (i386_optab): Add general form of aad and aam. Add ud2a
681 (i386_regtab): Allow cr0..7, db0..7, dr0..7, tr0..7, not just
682 those that happen to be implemented on pentiums.
686 * i386.h: Change occurences of Data16 to Size16, Data32 to Size32,
687 IgnoreDataSize to IgnoreSize. Flag address and data size prefixes
688 with Size16|IgnoreSize or Size32|IgnoreSize.
692 * i386.h (REPNE): Rename to REPNE_PREFIX_OPCODE.
693 (REPE): Rename to REPE_PREFIX_OPCODE.
694 (i386_regtab_end): Remove.
695 (i386_prefixtab, i386_prefixtab_end): Remove.
696 (i386_optab): Use NULL as sentinel rather than "" to suit rewrite
698 (MAX_OPCODE_SIZE): Define.
699 (i386_optab_end): Remove.
703 * i386.h (i386_optab): Allow 16 bit displacement for `mov
704 mem,acc'. Combine 16 and 32 bit forms of various insns. Allow 16
705 bit form of ljmp. Add IsPrefix modifier to prefixes. Add addr32,
706 data32, dword, and adword prefixes.
707 (i386_regtab): Add BaseIndex modifier to valid 16 bit base/index
712 * i386.h (i386_regtab): Remove BaseIndex modifier from esp.
714 * i386.h: Allow `l' suffix on fld, fst, fstp, fcom, fcomp with
715 register operands, because this is a common idiom. Flag them with
716 a warning. Allow illegal faddp, fsubp, fsubrp, fmulp, fdivp,
717 fdivrp because gcc erroneously generates them. Also flag with a
720 * i386.h: Add suffix modifiers to most insns, and tighter operand
721 checks in some cases. Fix a number of UnixWare compatibility
722 issues with float insns. Merge some floating point opcodes, using
723 new FloatMF modifier.
724 (WORD_PREFIX_OPCODE): Rename to DATA_PREFIX_OPCODE for
727 * i386.h: Change occurence of ShortformW to W|ShortForm. Add
728 IgnoreDataSize where appropriate.
732 * i386.h: (one_byte_segment_defaults): Remove.
733 (two_byte_segment_defaults): Remove.
734 (i386_regtab): Add BaseIndex to 32 bit regs reg_type.
738 * cgen.h (cgen_hw_lookup_by_name): Renamed from cgen_hw_lookup.
739 (cgen_hw_lookup_by_num): Declare.
743 * mips.h (OP_{SH,MASK}_CODE2): Added "q" operand format for lower
744 ten bits of MIPS ISA1 "break" instruction, and for "sdbbp"
748 * cgen.h (cgen_asm_init_parse): Delete.
749 (cgen_save_fixups,cgen_restore_fixups,cgen_swap_fixups): Delete.
750 (cgen_asm_record_register,cgen_asm_finish_insn): Delete.
754 * cgen.h (CGEN_ATTR_TYPE): Delete `const', moved to uses.
755 (cgen_asm_finish_insn): Update prototype.
756 (cgen_insn): New members num, data.
757 (CGEN_INSN_TABLE): Members asm_hash, asm_hash_table_size,
758 dis_hash, dis_hash_table_size moved to ...
759 (CGEN_OPCODE_TABLE). Here. Renamed from CGEN_OPCODE_DATA.
760 All uses updated. New members asm_hash_p, dis_hash_p.
761 (CGEN_MINSN_EXPANSION): New struct.
762 (cgen_expand_macro_insn): Declare.
763 (cgen_macro_insn_count): Declare.
764 (get_insn_operands): Update prototype.
765 (lookup_get_insn_operands): Declare.
769 * i386.h (i386_optab): Change iclrKludge and imulKludge to
770 regKludge. Add operands types for string instructions.
774 * i386.h (X): Renamed from `Z_' to preserve formatting of opcode
779 * i386.h (Z_): Renamed from `_' to avoid clash with common alias
784 * i386.h: Remove NoModrm flag from all insns: it's never checked.
785 Add IsString flag to string instructions.
786 (IS_STRING): Don't define.
787 (LOCK_PREFIX_OPCODE, CS_PREFIX_OPCODE, DS_PREFIX_OPCODE): Define.
788 (ES_PREFIX_OPCODE, FS_PREFIX_OPCODE, GS_PREFIX_OPCODE): Define.
789 (SS_PREFIX_OPCODE): Define.
793 * i386.h: Revert March 24 patch; no more LinearAddress.
797 * i386.h (i386_optab): Remove fwait (9b) from all floating point
798 instructions, and instead add FWait opcode modifier. Add short
799 form of fldenv and fstenv.
800 (FWAIT_OPCODE): Define.
802 * i386.h (i386_optab): Change second operand constraint of `mov
803 sreg,reg|mem' instruction from Reg16|Mem to WordReg|WordMem to
804 allow legal instructions such as `movl %gs,%esi'
808 * h8300.h: Various changes to fully bracket initializers.
812 * i386.h: Set LinearAddress for lidt and lgdt.
816 * cgen.h (CGEN_BOOL_ATTR): New macro.
820 * d30v.h (FLAG_DELAY): New flag for delayed branches/jumps.
824 * cgen.h (CGEN_CAT3): Delete. Use CONCAT3 now.
825 (cgen_insn): Record syntax and format entries here, rather than
830 * cgen.h (CGEN_SYNTAX_MAKE_FIELD): New macro.
834 * cgen.h (cgen_insert_fn): Change type of result to const char *.
835 (cgen_parse_{signed,unsigned}_integer): Delete min,max arguments.
836 (CGEN_{INSN,KEYWORD,OPERAND}_NBOOL_ATTRS): Renamed from ..._MAX_ATTRS.
840 * cgen.h (lookup_insn): New argument alias_p.
844 Fix rac to accept only a0:
845 * d10v.h (OPERAND_ACC): Split into:
846 (OPERAND_ACC0, OPERAND_ACC1) .
847 (OPERAND_GPR): Define.
851 * cgen.h (CGEN_FIELDS): Define here.
852 (CGEN_HW_ENTRY): New member `type'.
853 (hw_list): Delete decl.
854 (enum cgen_mode): Declare.
855 (CGEN_OPERAND): New member `hw'.
856 (enum cgen_operand_instance_type): Declare.
857 (CGEN_OPERAND_INSTANCE): New type.
858 (CGEN_INSN): New member `operands'.
859 (CGEN_OPCODE_DATA): Make hw_list const.
860 (get_insn_operands,lookup_insn): Add prototypes for.
864 * cgen.h (CGEN_INSN_MAX_ATTRS): Renamed from CGEN_MAX_INSN_ATTRS.
865 (CGEN_HW_ENTRY): Move `next' entry to end of struct.
866 (CGEN_KEYWORD_MAX_ATTRS): Renamed from CGEN_MAX_KEYWORD_ATTRS.
867 (CGEN_OPERAND_MAX_ATTRS): Renamed from CGEN_MAX_OPERAND_ATTRS.
871 * cgen.h: Correct typo in comment end marker.
879 * cgen.h: Add prototypes for cgen_save_fixups(),
880 cgen_restore_fixups(), and cgen_swap_fixups(). Change prototype
881 of cgen_asm_finish_insn() to return a char *.
885 * cgen.h: Formatting changes to improve readability.
889 * cgen.h (*): Clean up pass over `struct foo' usage.
890 (CGEN_ATTR): Make unsigned char.
891 (CGEN_ATTR_TYPE): Update.
892 (CGEN_ATTR_{ENTRY,TABLE}): New types.
893 (cgen_base): Move member `attrs' to cgen_insn.
894 (CGEN_KEYWORD): New member `null_entry'.
895 (CGEN_{SYNTAX,FORMAT}): New types.
896 (cgen_insn): Format and syntax separated from each other.
900 * d30v.h (d30v_opcode): Reorder flags somewhat, add new flags for
901 2 word load/store, ADDppp/SUBppp, 16/32 bit multiply. Make
902 flags_{used,set} long.
903 (d30v_operand): Make flags field long.
907 * m68k.h: Fix comment describing operand types.
911 * d30v.h (SHORT_CMPU): Add case for cmpu instruction, and move
912 everything else after down.
916 * d10v.h (OPERAND_FLAG): Split into:
917 (OPERAND_FFLAG, OPERAND_CFLAG) .
921 * mips.h (struct mips_opcode): Changed comments to reflect new
926 * mips.h: Added to comments a quick-ref list of all assigned
927 operand type characters.
928 (OP_{MASK,SH}_PERFREG): New macros.
932 * sparc.h: Add '_' and '/' for v9a asr's.
937 * h8300.h: Bit ops with absolute addresses not in the 8 bit
938 area are not available in the base model (H8/300).
942 * m68k.h: Remove documentation of ` operand specifier.
946 * m68k.h: Document q and v operand specifiers.
950 * v850.h (struct v850_opcode): Add processors field.
951 (PROCESSOR_V850, PROCESSOR_ALL): New bit constants.
952 (PROCESSOR_V850E, PROCESSOR_NOT_V850): New bit constants.
953 (PROCESSOR_V850EA): New bit constants.
957 Merge changes from Martin Hunt:
959 * d30v.h: Allow up to 64 control registers. Add
962 * d30v.h (LONG_Db): New form for delayed branches.
964 * d30v.h: (LONG_Db): New form for repeati.
966 * d30v.h (SHORT_D2B): New form.
968 * d30v.h (SHORT_A2): New form.
970 * d30v.h (OPERAND_2REG): Add new operand to indicate 2
971 registers are used. Needed for VLIW optimization.
975 * cgen.h: Move assembler interface section
976 up so cgen_parse_operand_result is defined for cgen_parse_address.
977 (cgen_parse_address): Update prototype.
981 * v850.h (V850_OPREAND_ADJUST_SHORT_MEMORY): Removed.
985 * i386.h (two_byte_segment_defaults): Correct base register 5 in
986 modes 1 and 2 to be ss rather than ds. From Gabriel Paubert
989 * i386.h: Set ud2 to 0x0f0b. From Gabriel Paubert
992 * i386.h: Comment fixes for ficom[p]?{s,l} from Gabriel Paubert
995 * i386.h (JUMP_ON_CX_ZERO): Uncomment (define again).
996 (JUMP_ON_ECX_ZERO): Remove commented out macro.
1000 * v850.h (V850_NOT_R0): New flag.
1004 * v850.h (struct v850_opcode): Remove flags field.
1008 * v850.h (struct v850_opcode): Add flags field.
1009 (struct v850_operand): Extend meaning of 'bits' and 'shift'
1011 (V850E_INSTRUCTION, V850EA_INSTRUCTION): New flags.
1012 (V850E_PUSH_POP, V850E_IMMEDIATE16, V850E_IMMEDIATE32): New flags.
1020 * sparc.h (sparc_opcodes): Declare as const.
1024 * mips.h (FP_S, FP_D): Define. Bitmasks indicating if an insn
1025 uses single or double precision floating point resources.
1026 (INSN_NO_ISA, INSN_ISA1): Define.
1027 (cpu specific INSN macros): Tweak into bitmasks outside the range
1032 * i386.h: Fix pand opcode.
1036 * mips.h: Widen INSN_ISA and move it to a more convenient
1037 bit position. Add INSN_3900.
1041 * mips.h (struct mips_opcode): added new field membership.
1045 * i386.h (movd): only Reg32 is allowed.
1047 * i386.h: add fcomp and ud2. From Wayne Scott
1052 * i386.h: Add MMX instructions.
1056 * i386.h: Remove W modifier from conditional move instructions.
1060 * i386.h: Change the opcodes for fsubp, fsubrp, fdivp, and fdivrp
1061 with no arguments to match that generated by the UnixWare
1066 * cgen.h (<cpu>_cgen_assemble_insn): New arg for errmsg.
1067 (cgen_parse_operand_fn): Declare.
1068 (cgen_init_parse_operand): Declare.
1069 (cgen_parse_operand): Renamed from cgen_asm_parse_operand,
1070 new argument `want'.
1071 (enum cgen_parse_operand_result): Renamed from cgen_asm_result.
1072 (enum cgen_parse_operand_type): New enum.
1076 * i386.h: Revert last patch for the NON_BROKEN_OPCODES cases.
1084 * i386.h: Correct opcode values for fsubp, fsubrp, fdivp, and
1089 * v850.h (extract): Make unsigned.
1097 * i386.h: Change DW to W for cmpxchg and xadd, since they don't
1098 take a direction bit.
1102 * sparc.h (sparc_opcode_lookup_arch): Use full prototype.
1106 * sparc.h: Include <ansidecl.h>. Update function declarations to
1107 use prototypes, and to use const when appropriate.
1111 * mn10300.h (MN10300_OPERAND_RELAX): Define.
1115 * d10v.h: Change pre_defined_registers to
1116 d10v_predefined_registers and reg_name_cnt to d10v_reg_name_cnt.
1120 * mips.h: Add macros for cop0, cop1 cop2 and cop3.
1121 Change mips_opcodes from const array to a pointer,
1122 and change bfd_mips_num_opcodes from const int to int,
1123 so that we can increase the size of the mips opcodes table
1128 * d30v.h (FLAG_X): Remove unused flag.
1136 * tic80.h (PDS_NAME): Macro to access name field of predefined symbols.
1137 (PDS_VALUE): Macro to access value field of predefined symbols.
1138 (tic80_next_predefined_symbol): Add prototype.
1142 * tic80.h (tic80_symbol_to_value): Change prototype to match
1143 change in function, added class parameter.
1147 * tic80.h (TIC80_OPERAND_ENDMASK): Add for flagging TIc80
1148 endmask fields, which are somewhat weird in that 0 and 32 are
1149 treated exactly the same.
1153 * tic80.h: Change all the OPERAND defines to use the form (1 << X)
1154 rather than a constant that is 2**X. Reorder them to put bits for
1155 operands that have symbolic names in the upper bits, so they can
1156 be packed into an int where the lower bits contain the value that
1157 corresponds to that symbolic name.
1158 (predefined_symbo): Add struct.
1159 (tic80_predefined_symbols): Declare array of translations.
1160 (tic80_num_predefined_symbols): Declare size of that array.
1161 (tic80_value_to_symbol): Declare function.
1162 (tic80_symbol_to_value): Declare function.
1166 * mn10200.h (MN10200_OPERAND_RELAX): Define.
1170 * tic80.h (TIC80_NO_R0_DEST): Add for opcodes where r0 cannot
1171 be the destination register.
1175 * tic80.h (struct tic80_opcode): Change "format" field to "flags".
1176 (FMT_UNUSED, FMT_SI, FMT_LI, FMT_REG): Delete.
1177 (TIC80_VECTOR): Define a flag bit for the flags. This one means
1178 that the opcode can have two vector instructions in a single
1179 32 bit word and we have to encode/decode both.
1183 * tic80.h (TIC80_OPERAND_PCREL): Renamed from
1184 TIC80_OPERAND_RELATIVE for PC relative.
1185 (TIC80_OPERAND_BASEREL): New flag bit for register
1190 * tic80.h (TIC80_OPERAND_FLOAT): Add for floating point operands.
1194 * tic80.h (TIC80_OPERAND_SCALED): Operand may have optional
1195 ":s" modifier for scaling.
1199 * tic80.h (TIC80_OPERAND_M_SI): Add operand modifier for ":m".
1200 (TIC80_OPERAND_M_LI): Ditto
1204 * tic80.h (TIC80_OPERAND_BITNUM): Renamed from TIC80_OPERAND_CC_SZ.
1205 (TIC80_OPERAND_CC): New define for condition code operand.
1206 (TIC80_OPERAND_CR): New define for control register operand.
1210 * tic80.h (struct tic80_opcode): Name changed.
1211 (struct tic80_opcode): Remove format field.
1212 (struct tic80_operand): Add insertion and extraction functions.
1213 (TIC80_OPERAND_*): Remove old bogus values, start adding new
1219 * v850.h (V850_OPERAND_ADJUST_SHORT_MEMORY): New flag to adjust
1220 type IV instruction offsets.
1224 * tic80.h: New file.
1228 * mn10200.h (MN10200_OPERAND_NOCHECK): Define.
1232 * mn10200.h: Fix comment, mn10200_operand not powerpc_operand.
1233 * mn10300.h: Fix comment, mn10300_operand not powerpc_operand.
1234 * v850.h: Fix comment, v850_operand not powerpc_operand.
1238 * mn10200.h: Flesh out structures and definitions needed by
1239 the mn10200 assembler & disassembler.
1243 * mips.h: Add mips16 definitions.
1247 * m68k.h: Document new <, >, m, n, o and p operand specifiers.
1251 * mn10300.h (MN10300_OPERAND_PCREL): Define.
1252 (MN10300_OPERAND_MEMADDR): Define.
1256 * mn10300.h (MN10300_OPERAND_REG_LIST): Define.
1260 * mn10300.h (MN10300_OPERAND_SPLIT): Define.
1264 * mn10300.h (MN10300_OPERAND_EXTENDED): Define.
1268 * mn10300.h (MN10300_OPERAND_REPEATED): Define.
1272 * alpha.h: Don't include "bfd.h"; private relocation types are now
1273 negative to minimize problems with shared libraries. Organize
1274 instruction subsets by AMASK extensions and PALcode
1276 (struct alpha_operand): Move flags slot for better packing.
1280 * v850.h (V850_OPERAND_RELAX): New operand flag.
1284 * mn10300.h (FMT_*): Move operand format definitions
1289 * mn10300.h (MN10300_OPERAND_PAREN): Define.
1293 * mn10300.h (mn10300_opcode): Add "format" field.
1294 (MN10300_OPERAND_*): Define.
1298 * mn10x00.h: Delete.
1299 * mn10200.h, mn10300.h: New files.
1303 * mn10x00.h: New file.
1307 * v850.h: Add new flag to indicate this instruction uses a PC
1312 * h8300.h (stmac): Add missing instruction.
1316 * v850.h (v850_opcode): Remove "size" field. Add "memop"
1321 * v850.h (V850_OPERAND_EP): Define.
1323 * v850.h (v850_opcode): Add size field.
1327 * v850.h (v850_operands): Add insert and extract fields, pointers
1328 to functions used to handle unusual operand encoding.
1329 (V850_OPERAND_REG, V850_OPERAND_SRG, V850_OPERAND_CC,
1330 V850_OPERAND_SIGNED): Defined.
1334 * v850.h (v850_operands): Add flags field.
1335 (OPERAND_REG, OPERAND_NUM): Defined.
1343 * mips.h (OP_SH_LOCC, OP_SH_HICC, OP_MASK_CC, OP_SH_COP1NORM,
1344 OP_MASK_COP1NORM, OP_SH_COP1SPEC, OP_MASK_COP1SPEC,
1345 OP_MASK_COP1SCLR, OP_MASK_COP1CMP, OP_SH_COP1CMP, OP_SH_FORMAT,
1346 OP_MASK_FORMAT, OP_SH_TRUE, OP_MASK_TRUE, OP_SH_GE, OP_MASK_GE,
1347 OP_SH_UNSIGNED, OP_MASK_UNSIGNED, OP_SH_HINT, OP_MASK_HINT):
1352 * hppa.h (pitlb, pitlbe, iitlba, iitlbp, fic, fice): Accept
1353 a 3 bit space id instead of a 2 bit space id.
1357 * d10v.h: Add some additional defines to support the
1358 assembler in determining which operations can be done in parallel.
1362 * h8300.h (SN): Define.
1363 (eepmov.b): Renamed from "eepmov"
1364 (nop, bpt, rte, rts, sleep, clrmac): These have no size associated
1369 * d10v.h (OPERAND_SHIFT): New operand flag.
1373 * d10v.h: Changes for divs, parallel-only instructions, and
1378 * d10v.h (pd_reg): Define. Putting the definition here allows
1379 the assembler and disassembler to share the same struct.
1383 * i960.h (i960_opcodes): "halt" takes an argument. From Stephen
1392 * h8300.h (band, bclr): Force high bit of immediate nibble to zero.
1396 * m68k.h (mcf5200): New macro.
1397 Document names of coldfire control registers.
1401 * h8300.h (SRC_IN_DST): Define.
1403 * h8300.h (UNOP3): Mark the register operand in this insn
1404 as a source operand, not a destination operand.
1405 (SHIFT_2, SHIFT_IMM): Remove. Eliminate all references.
1406 (UNOP3): Change SHIFT_IMM to IMM for H8/S bitops. Mark
1407 register operand with SRC_IN_DST.
1411 * alpha.h: New file.
1415 * rs6k.h: Remove obsolete file.
1419 * i386.h: Correct opcode values for faddp, fsubp, fsubrp, fmulp,
1420 fdivp, and fdivrp. Add ffreep.
1424 * h8300.h: Reorder various #defines for readability.
1425 (ABS32SRC, ABS32DST, DSP32LIST, ABS32LIST, A32LIST): Define.
1426 (BITOP): Accept additional (unused) argument. All callers changed.
1429 (ldc, stc, movb, movw, movl): Use 32bit offsets and absolutes.
1431 * h8300.h (EXR, SHIFT_2, MACREG, SHIFT_IMM, RDINC): Define.
1432 (O_TAS, O_CLRMAC, O_LDMAC, O_MAC, O_LDM, O_STM): Define.
1433 (BITOP, EBITOP): Handle new H8/S addressing modes for
1435 (UNOP3): Handle new shift/rotate insns on the H8/S.
1436 (insns using exr): New instructions.
1437 (tas, mac, ldmac, clrmac, ldm, stm): New instructions.
1441 * h8300.h (add.l): Undo Apr 5th change. The manual I had
1446 * h8300.h (START): Remove.
1447 (MEMRELAX): Define. Mark absolute memory operands in mov.b, mov.w
1448 and mov.l insns that can be relaxed.
1452 * i386.h: Remove Abs32 from lcall.
1456 * sparc.h (SPARC_OPCODE_ARCH_V9_P): New macro.
1457 (SLCPOP): New macro.
1458 Mark X,Y opcode letters as in use.
1462 * sparc.h (F_FLOAT, F_FBR): Define.
1466 * h8300.h (ABS8MEM): Renamed from ABSMOV. Remove ABSMOV
1468 (ABS8SRC,ABS8DST): Add ABS8MEM.
1469 (add.l): Fix reg+reg variant.
1470 (eepmov.w): Renamed from eepmovw.
1471 (ldc,stc): Fix many cases.
1475 * sparc.h (SPARC_OPCODE_ARCH_MASK): New macro.
1479 * sparc.h (O): Mark operand letter as in use.
1483 * sparc.h (sparc_{encode,decode}_sparclet_cpreg): Declare.
1484 Mark operand letters uU as in use.
1488 * sparc.h (sparc_opcode_arch_val): Add SPARC_OPCODE_ARCH_SPARCLET.
1489 (sparc_opcode_arch): Delete member `conflicts'. Add `supported'.
1490 (SPARC_OPCODE_SUPPORTED): New macro.
1491 (SPARC_OPCODE_CONFLICT_P): Rewrite.
1496 * sparc.h (sparc_opcode_lookup_arch) Make return type in
1497 declaration consistent with return type in definition.
1501 * i386.h (i386_optab): Remove Data32 from pushf and popf.
1505 * i386.h (i386_regtab): Add 80486 test registers.
1509 * i960.h (I_HX): Define.
1510 (i960_opcodes): Add HX instruction.
1514 * i386.h: Fix waiting forms of finit, fstenv, fsave, fstsw, fstcw,
1519 * sparc.h (enum sparc_opcode_arch_val): Replaces sparc_architecture.
1520 (SPARC_OPCODE_CONFLICT_P): Renamed from ARCHITECTURES_CONFLICT_P.
1521 (bfd_* defines): Delete.
1522 (sparc_opcode_archs): Replaces architecture_pname.
1523 (sparc_opcode_lookup_arch): Declare.
1524 (NUMOPCODES): Delete.
1528 * sparc.h (enum sparc_architecture): Add v9a.
1529 (ARCHITECTURES_CONFLICT_P): Update.
1533 * i386.h: Added Pentium Pro instructions.
1537 * m68k.h: Document new 'W' operand place.
1541 * hppa.h: Add lci and syncdma instructions.
1545 * mips.h: Added INSN_4100 flag to mark NEC VR4100 specific
1550 * ppc.h (PPC_OPCODE_{COMMON,ANY}): New opcode flags for
1551 assembler's -mcom and -many switches.
1555 * i386.h: Fix cmpxchg8b extension opcode description.
1559 * i386.h: Add Pentium instructions wrmsr, rdtsc, rdmsr, cmpxchg8b,
1564 * m68k.h: Change comment: split type P into types 0, 1 and 2.
1568 * sparc.h (sparc_{encode,decode}_prefetch): Declare.
1572 * sparc.h (sparc_{encode,decode}_{asi,membar}): Declare.
1576 * m68kmri.h: Remove.
1578 * m68k.h: Move tables into opcodes/m68k-opc.c, leaving just the
1579 declarations. Remove F_ALIAS and flag field of struct
1580 m68k_opcode. Change arch field of struct m68k_opcode to unsigned
1581 int. Make name and args fields of struct m68k_opcode const.
1585 * sparc.h (F_NOTV9): Define.
1589 * mips.h (INSN_4010): Define.
1593 * m68k.h (TBL1): Reverse sense of "round" argument in result.
1596 * m68k.h: Fix argument descriptions of coprocessor
1597 instructions to allow only alterable operands where appropriate.
1598 [!NO_DEFAULT_SIZES]: An omitted size defaults to `w'.
1599 (m68k_opcode_aliases): Add more aliases.
1603 * m68k.h: Added explcitly short-sized conditional branches, and a
1604 bunch of aliases (fmov*, ftest*, tdivul) to support gcc's
1605 svr4-based configurations.
1610 * i386.h: added missing Data16/Data32 flags to a few instructions.
1614 * mips.h (OP_MASK_FR, OP_SH_FR): Define.
1615 (OP_MASK_BCC, OP_SH_BCC): Define.
1616 (OP_MASK_PREFX, OP_SH_PREFX): Define.
1617 (OP_MASK_CCC, OP_SH_CCC): Define.
1618 (INSN_READ_FPR_R): Define.
1623 * m68k.h (enum m68k_architecture): Deleted.
1624 (struct m68k_opcode_alias): New type.
1625 (m68k_opcodes): Now const. Deleted opcode aliases with exactly
1626 matching constraints, values and flags. As a side effect of this,
1627 the MOTOROLA_SYNTAX_ONLY and MIT_SYNTAX_ONLY macros, which so far
1628 as I know were never used, now may need re-examining.
1629 (numopcodes): Now const.
1630 (m68k_opcode_aliases, numaliases): New variables.
1632 [DONT_DEFINE_TABLE]: Declare numopcodes, numaliases, and
1633 m68k_opcode_aliases; update declaration of m68k_opcodes.
1637 * hppa.h (delay_type): Delete unused enumeration.
1638 (pa_opcode): Replace unused delayed field with an architecture
1640 (pa_opcodes): Mark each instruction as either PA1.0 or PA1.1.
1644 * mips.h (INSN_ISA4): Define.
1648 * mips.h (M_DLA_AB, M_DLI): Define.
1652 * hppa.h (fstwx): Fix single-bit error.
1656 * mips.h (M_ULD, M_ULD_A, M_USD, M_USD_A): Define.
1660 * i386.h: added cpuid instruction , and dr[0-7] aliases for the
1667 * i386.h (MOV_AX_DISP32): New macro.
1668 (i386_optab): Added Data16 and Data32 as needed. Added "w" forms
1669 of several call/return instructions.
1670 (ADDR_PREFIX_OPCODE): New macro.
1676 * ../include/opcode/vax.h (struct vot_wot, field `args'): make
1677 it pointer to const char;
1678 (struct vot, field `name'): ditto.
1682 * vax.h: Supply and properly group all values in end sentinel.
1686 * mips.h (INSN_ISA, INSN_4650): Define.
1690 * a29k.h: Add operand type 'I' for `inv' and `iretinv'. On
1691 systems with a separate instruction and data cache, such as the
1692 29040, these instructions take an optional argument.
1696 * mips.h (INSN_STORE_MEMORY): Correct value to not conflict with
1701 * mips.h (INSN_STORE_MEMORY): Define.
1705 * sparc.h: Document new operand type 'x'.
1709 * i960.h (I_CX2): New instruction category. It includes
1710 instructions available on Cx and Jx processors.
1711 (I_JX): New instruction category, for JX-only instructions.
1712 (i960_opcodes): Put eshro and sysctl in I_CX2 category. Added
1713 Jx-only instructions, in I_JX category.
1717 * ns32k.h (endop): Made pointer const too.
1721 * ns32k.h: Drop Q operand type as there is no correct use
1722 for it. Add I and Z operand types which allow better checking.
1726 * h8300.h (xor.l) :fix bit pattern.
1727 (L_2): New size of operand.
1732 * m68k.h: Move "trap" before "tpcc" to change disassembly.
1736 * sparc.h: Include v9 definitions.
1740 * m68k.h (m68060): Defined.
1741 (m68040up, mfloat, mmmu): Include it.
1742 (struct m68k_opcode): Widen `arch' field.
1743 (m68k_opcodes): Updated for M68060. Removed comments that were
1744 instructions commented out by "JF" years ago.
1748 * m68k.h (struct m68k_opcode): Shorten `arch' field to 8 bits, and
1749 add a one-bit `flags' field.
1750 (F_ALIAS): New macro.
1754 * h8300.h (dec, inc): Get encoding right.
1758 * ppc.h (struct powerpc_operand): Removed signedp field; just use
1760 (PPC_OPERAND_SIGNED): Define.
1761 (PPC_OPERAND_SIGNOPT): Define.
1765 * i386.h (IS_JUMP_ON_ECX_ZERO, "jcxz" pattern): Operand size
1770 * i386.h: Reverse last change. It'll be handled in gas instead.
1774 * i386.h (sar): Disabled the two-operand Imm1 form, since it was
1775 slower on the 486 and used the implicit shift count despite the
1776 explicit operand. The one-operand form is still available to get
1777 the shorter form with the implicit shift count.
1781 * hppa.h: Fix typo in fstws arg string.
1785 * ppc.h (struct powerpc_opcode): Make operands field unsigned.
1789 * ppc.h (PPC_OPCODE_601): Define.
1793 * hppa.h (addb): Use '@' for addb and addib pseudo ops.
1794 (so we can determine valid completers for both addb and addb[tf].)
1796 * hppa.h (xmpyu): No floating point format specifier for the
1801 * ppc.h (PPC_OPERAND_NEXT): Define.
1802 (PPC_OPERAND_NEGATIVE): Change value to make room for above.
1803 (struct powerpc_macro): Define.
1804 (powerpc_macros, powerpc_num_macros): Declare.
1808 * ppc.h: New file. Header file for PowerPC opcode table.
1812 * hppa.h: More minor template fixes for sfu and copr (to allow
1813 for easier disassembly).
1815 * hppa.h: Fix templates for all the sfu and copr instructions.
1819 * i386.h (push): Permit Imm16 operand too.
1823 * h8300.h (andc): Exists in base arch.
1828 * hppa.h: #undef NONE to avoid conflict with hiux include files.
1832 * hppa.h: Add FP quadword store instructions.
1836 * mips.h: (M_J_A): Added.
1841 * mips.h (OP_MASK_CACHE, OP_SH_CACHE): Define. From Ted Lemon
1846 * hppa.h: Immediate field in probei instructions is unsigned,
1847 not low-sign extended.
1851 * m88k.h (RRI10MASK): Change from 0xfc00ffe0 to 0xfc00fc00.
1855 * i386.h: Add "fxch" without operand.
1859 * mips.h (M_JAL_1, M_JAL_2, M_JAL_A): Added.
1863 * hppa.h: Add gfw and gfr to the opcode table.
1867 * m88k.h: extended to handle m88110.
1871 * hppa.h (be, ble): Use operand type 'z' to denote absolute branch
1876 * i960.h (i960_opcodes): Properly bracket initializers.
1880 * m88k.h (BOFLAG): rewrite to avoid nested comment.
1884 * m68k.h (two): Protect second argument with parentheses.
1888 * i386.h (i386_optab): Added new instruction "rsm" (for i386sl).
1889 Deleted old in/out instructions in "#if 0" section.
1893 * i386.h (i386_optab): Properly bracket initializers.
1897 * hppa.h (pa_opcode): Use '|' for movb and movib insns. (From
1902 * i386.h (lcall): Accept Imm32 operand also.
1906 * mips.h (M_ABSU): Removed (absolute value of unsigned number??).
1911 * mips.h (INSN_*): Changed values. Removed unused definitions.
1912 Added INSN_COND_BRANCH_LIKELY, INSN_ISA2 and INSN_ISA3. Split
1913 INSN_LOAD_DELAY into INSN_LOAD_MEMORY_DELAY and
1914 INSN_LOAD_COPROC_DELAY. Split INSN_COPROC_DELAY into
1915 INSN_COPROC_MOVE_DELAY and INSN_COPROC_MEMORY_DELAY.
1916 (M_*): Added new values for r6000 and r4000 macros.
1917 (ANY_DELAY): Removed.
1921 * mips.h: Added M_LI_S and M_LI_SS.
1925 * h8300.h: Get some rare mov.bs correct.
1929 * sparc.h: Don't define const ourself; rely on ansidecl.h having
1934 * sparc.h (F_JSR, F_UNBR, F_CONDBR): Add new flags to mark
1935 jump instructions, for use in disassemblers.
1939 * m88k.h: Make bitfields just unsigned, not unsigned long or
1944 * hppa.h: New argument type 'y'. Use in various float instructions.
1948 * hppa.h (break): First immediate field is unsigned.
1950 * hppa.h: Add rfir instruction.
1954 * mips.h: Split the actual table out into ../../opcodes/mips-opc.c.
1958 * mips.h: Reworked the hazard information somewhat, and fixed some
1959 bugs in the instruction hazard descriptions.
1963 * m88k.h: Corrected a couple of opcodes.
1967 * mips.h: Replaced with version from Ralph Campbell and OSF. The
1968 new version includes instruction hazard information, but is
1969 otherwise reasonably similar.
1973 * h8300.h: Fix typo in UNOP3 (affected sh[al][lr].l).
1978 * hppa.h: Clean up some of the OLD_TABLE, non-OLD_TABLE braindamage.
1979 Make the tables be the same for the following instructions:
1980 "bb", "addb[tf]", "addib[tf]", "add", "add[loc]", "addco",
1981 "sh[123]add", "sh[123]add[lo]", "sub", "sub[obt]", "sub[bt]o",
1982 "ds", "comclr", "addi", "addi[ot]", "addito", "subi", "subio",
1983 "comiclr", "fadd", "fsub", "fmpy", "fdiv", "fsqrt", "fabs",
1984 "frnd", "fcpy", "fcnvff", "fcnvxf", "fcnvfx", "fcnvfxt",
1985 "fcmp", and "ftest".
1987 * hppa.h: Make new and old tables the same for "break", "mtctl",
1988 "mfctl", "bb", "ssm", "rsm", "xmpyu", "fmpyadd", "fmpysub".
1989 Fix typo in last patch. Collapse several #ifdefs into a
1992 * hppa.h: Delete remaining OLD_TABLE code. Bring some
1993 of the comments up-to-date.
1995 * hppa.h: Update "free list" of letters and update
1996 comments describing each letter's function.
2000 * h8300.h: checkpoint, includes H8/300-H opcodes.
2005 * hppa.h: Rework single precision FP
2006 instructions so that they correctly disassemble code
2011 * i386.h (i386_optab, mov pattern): Remove Mem16 restriction from
2012 mov to allow instructions like mov ss,xyz(ecx) to assemble.
2016 * hppa.h: Use new version from Utah if OLD_TABLE isn't defined;
2017 gdb will define it for now.
2021 * sparc.h: Don't end enumerator list with comma.
2026 * mips.h (OP_MASK_COPZ, OP_SH_COPZ): Define.
2027 ("bc2t"): Correct typo.
2028 ("[ls]wc[023]"): Use T rather than t.
2029 ("c[0123]"): Define general coprocessor instructions.
2033 * m68k.h: Move split point for gcc compilation more towards
2038 * rs6k.h: Clean up instructions for primary opcode 19 (many were
2039 simply wrong, ics, rfi, & rfsvc were missing).
2040 Add "a" to opr_ext for "bb". Doc fix.
2045 * mips.h: Add casts, to suppress warnings about shifting too much.
2046 * m68k.h: Document the placement code '9'.
2050 * m68k.h (BREAK_UP_BIG_DECL, AND_OTHER_PART): Add kludge which
2051 allows callers to break up the large initialized struct full of
2052 opcodes into two half-sized ones. This permits GCC to compile
2053 this module, since it takes exponential space for initializers.
2054 (numopcodes, endop): Revise to use AND_OTHER_PART in size calcs.
2058 * a29k.h: Remove RCS crud, update GPL to v2, update copyrights.
2059 * convex.h: Added, from GDB's convx-opcode.h. Added CONST to all
2060 initialized structs in it.
2065 * m88k.h (PMEM): Avoid previous definition from <sys/param.h>.
2066 (AND): Change to AND_ to avoid ansidecl.h `AND' conflict.
2070 * mips.h: document "i" and "j" operands correctly.
2074 * mips.h: Removed endianness dependency.
2078 * h8300.h: include info on number of cycles per instruction.
2080 Mon Dec 21 21:29:08 1992 Stu Grossman (grossman at cygnus.com)
2082 * hppa.h: Move handy aliases to the front. Fix masks for extract
2083 and deposit instructions.
2087 * i386.h: accept shld and shrd both with and without the shift
2088 count argument, which is always %cl.
2090 Fri Nov 27 17:13:18 1992 Ken Raeburn (raeburn at cygnus.com)
2092 * i386.h (i386_optab_end, i386_regtab_end): Now const.
2093 (one_byte_segment_defaults, two_byte_segment_defaults,
2094 i386_prefixtab_end): Ditto.
2098 * vax.h (bb*): Use "v" (bitfield type), not "a" (address operand)
2103 * m68k.h: Define FIXED_SIZE_BRANCH, so bsr and bra instructions
2104 always use 16-bit offsets. Makes calculated-size jump tables
2109 * i386.h: Fix one-operand forms of in* and out* patterns.
2113 * m68k.h: Added CPU32 support.
2117 * mips.h (break): Disassemble the argument. Patch from
2122 * m68k.h: merged Motorola and MIT syntax.
2126 * m68k.h (pmove): make the tests less strict, the 68k book is
2131 * m68k.h (m68ec030): Defined as alias for 68030.
2132 (m68k_opcodes): New type characters "3" for 68030 MMU regs and "t"
2133 for immediate 0-7 added. Set up some opcodes (ptest, bkpt) to use
2134 them. Tightened description of "fmovex" to distinguish it from
2135 some "pmove" encodings. Added "pmove" for 68030 MMU regs, cleaned
2136 up descriptions that claimed versions were available for chips not
2137 supporting them. Added "pmovefd".
2141 * m68k.h: fix where the . goes in divull
2145 * m68k.h: the cas2 instruction is supposed to be written with
2146 indirection on the last two operands, which can be either data or
2147 address registers. Added a new operand type 'r' which accepts
2148 either register type. Added new cases for cas2l and cas2w which
2149 use them. Corrected masks for cas2 which failed to recognize use
2150 of address register.
2154 * m68k.h: Merged in patches (mostly m68040-specific) from
2157 * m68k.h: Merged m68kmri.h and m68k.h (using the former as a
2158 base). Also cleaned up duplicates, re-ordered instructions for
2159 the sake of dis-assembling (so aliases come after standard names).
2160 * m68kmri.h: Now just defines some macros, and #includes m68k.h.
2164 * m68kmri.h: added various opcodes. Moved jbxx to bxxes. Filled in
2169 * sparc.h: Moved tables to BFD library.
2171 * i386.h (i386_optab): Add fildq, fistpq aliases used by gcc.
2175 * h8300.h: Finish filling in all the holes in the opcode table,
2176 so that the Lucid C compiler can digest this as well...
2178 Fri Jun 26 21:27:17 1992 John Gilmore (gnu at cygnus.com)
2180 * i386.h: Add setc, setnc, addr16, data16, repz, repnz aliases.
2181 Fix opcodes on various sizes of fild/fist instructions
2182 (16bit=no suffix, 32bit="l" suffix, 64bit="ll" suffix).
2183 Use tabs to indent for comments. Fixes suggested by Minh Tran-Le.
2185 Thu Jun 25 16:13:26 1992 Stu Grossman (grossman at cygnus.com)
2187 * h8300.h: Fill in all the holes in the opcode table so that the
2188 losing HPUX C compiler can digest this...
2190 Thu Jun 11 12:15:25 1992 John Gilmore (gnu at cygnus.com)
2192 * mips.h: Fix decoding of coprocessor instructions, somewhat.
2197 * sparc.h: Add new architecture variant sparclite; add its scan
2198 and divscc opcodes. Define ARCHITECTURES_CONFLICT_P macro.
2202 * mips.h: Add some more opcode synonyms (from Frank Yellin,
2207 * rs6k.h: New version from IBM (Metin).
2211 * rs6k.h: Fix incorrect extended opcode for instructions `fm'
2214 Tue Apr 7 13:38:47 1992 Stu Grossman (grossman at cygnus.com)
2216 * rs6k.h: Move from ../../gdb/rs6k-opcode.h.
2220 * m68k.h (one, two): Cast macro args to unsigned to suppress
2221 complaints from compiler and lint about integer overflow during
2224 Sun Mar 29 12:22:08 1992 John Gilmore (gnu at cygnus.com)
2226 * sparc.h (OP): Avoid signed overflow when shifting to high order bit.
2228 Fri Mar 6 00:22:38 1992 John Gilmore (gnu at cygnus.com)
2230 * mips.h: Make bitfield layout depend on the HOST compiler,
2231 not on the TARGET system.
2235 * i386.h: added inb, inw, outb, outw opcodes, added att syntax for
2236 scmp, slod, smov, ssca, ssto. Curtesy Minh Tran-Le
2239 Thu Jan 30 07:31:44 1992 Steve Chamberlain (sac at rtl.cygnus.com)
2241 * h8300.h: turned op_type enum into #define list
2243 Thu Jan 30 01:07:24 1992 John Gilmore (gnu at cygnus.com)
2245 * sparc.h: Remove "cypress" architecture. Remove "fitox" and
2246 similar instructions -- they've been renamed to "fitoq", etc.
2247 REALLY fix tsubcctv. Fix "fcmpeq" and "fcmpq" which had wrong
2248 number of arguments.
2249 * h8300.h: Remove extra ; which produces compiler warning.
2251 Tue Jan 28 22:59:22 1992 Stu Grossman (grossman at cygnus.com)
2253 * sparc.h: fix opcode for tsubcctv.
2255 Tue Jan 7 17:19:39 1992 K. Richard Pixley (rich at cygnus.com)
2257 * sparc.h: fba and cba are now aliases for fb and cb respectively.
2259 Fri Dec 27 10:55:50 1991 Per Bothner (bothner at cygnus.com)
2261 * sparc.h (nop): Made the 'lose' field be even tighter,
2262 so only a standard 'nop' is disassembled as a nop.
2264 Sun Dec 22 12:18:18 1991 Michael Tiemann (tiemann at cygnus.com)
2266 * sparc.h (nop): Add RD_GO to `lose' so that only %g0 in dest is
2267 disassembled as a nop.
2269 Tue Dec 10 00:22:20 1991 K. Richard Pixley (rich at rtl.cygnus.com)
2271 * sparc.h: fix a typo.
2273 Sat Nov 30 20:40:51 1991 Steve Chamberlain (sac at rtl.cygnus.com)
2275 * a29k.h, arm.h, h8300.h, i386.h, i860.h, i960.h , m68k.h,
2276 m88k.h, mips.h , np1.h, ns32k.h, pn.h, pyr.h, sparc.h, tahoe.h,
2277 vax.h, ChangeLog: renamed from ../<foo>-opcode.h
2281 version-control: never