2008-01-23 15:13:08 +01:00
|
|
|
|
2008-01-23 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-i386.c (md_show_usage): Show more processors for
|
|
|
|
|
-march=/-mtune=.
|
|
|
|
|
|
2008-01-22 20:57:30 +01:00
|
|
|
|
2008-01-22 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-i386.c (i386_target_format): Remove cpummx2.
|
|
|
|
|
|
2008-01-22 20:16:45 +01:00
|
|
|
|
2008-01-22 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-i386.c (XXX_PREFIX): Moved from tc-i386.h.
|
|
|
|
|
(XXX_MNEM_SUFFIX): Likewise.
|
|
|
|
|
(END_OF_INSN): Likewise.
|
|
|
|
|
(templates): Likewise.
|
|
|
|
|
(modrm_byte): Likewise.
|
|
|
|
|
(rex_byte): Likewise.
|
|
|
|
|
(DREX_XXX): Likewise.
|
|
|
|
|
(drex_byte): Likewise.
|
|
|
|
|
(sib_byte): Likewise.
|
|
|
|
|
(processor_type): Likewise.
|
|
|
|
|
(arch_entry): Likewise.
|
|
|
|
|
(cpu_sub_arch_name): Remove const.
|
|
|
|
|
(cpu_arch): Add .vmx and .smx.
|
|
|
|
|
(set_cpu_arch): Append cpu_sub_arch_name.
|
|
|
|
|
(md_parse_option): Support -march=CPU[,+EXTENSION...].
|
|
|
|
|
(md_show_usage): Updated.
|
|
|
|
|
|
|
|
|
|
* config/tc-i386.h (XXX_PREFIX): Moved to tc-i386.c.
|
|
|
|
|
(XXX_MNEM_SUFFIX): Likewise.
|
|
|
|
|
(END_OF_INSN): Likewise.
|
|
|
|
|
(templates): Likewise.
|
|
|
|
|
(modrm_byte): Likewise.
|
|
|
|
|
(rex_byte): Likewise.
|
|
|
|
|
(DREX_XXX): Likewise.
|
|
|
|
|
(drex_byte): Likewise.
|
|
|
|
|
(sib_byte): Likewise.
|
|
|
|
|
(processor_type): Likewise.
|
|
|
|
|
(arch_entry): Likewise.
|
|
|
|
|
|
|
|
|
|
* doc/as.texinfo: Update i386 -march option.
|
|
|
|
|
|
|
|
|
|
* doc/c-i386.texi: Update -march= for ISA.
|
|
|
|
|
|
2008-01-18 20:13:48 +01:00
|
|
|
|
2008-01-18 Bob Wilson <bob.wilson@acm.org>
|
|
|
|
|
|
|
|
|
|
* config/tc-xtensa.c (xtensa_leb128): New function.
|
|
|
|
|
(md_pseudo_table): Use it for sleb128 and uleb128.
|
|
|
|
|
(is_leb128_expr): New internal flag.
|
|
|
|
|
(xtensa_symbol_new_hook): Check new flag.
|
|
|
|
|
|
2008-01-16 18:59:07 +01:00
|
|
|
|
2008-01-16 Eric B. Weddington <eric.weddington@atmel.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-avr.c (mcu_types): Change opcode set for avr3,
|
|
|
|
|
at90usb82, at90usb162.
|
|
|
|
|
* doc/c-avr.texi: Change architecture grouping for at90usb82,
|
|
|
|
|
at90usb162.
|
|
|
|
|
These changes support the new avr35 architecture group in gcc.
|
|
|
|
|
|
2008-01-15 19:50:44 +01:00
|
|
|
|
2008-01-15 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-i386.c (md_assemble): Also zap movzx and movsx
|
|
|
|
|
suffix for AT&T syntax.
|
|
|
|
|
|
2008-01-15 02:37:56 +01:00
|
|
|
|
2008-01-14 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-i386.c (match_reg_size): New.
|
|
|
|
|
(match_mem_size): Likewise.
|
|
|
|
|
(operand_size_match): Likewise.
|
|
|
|
|
(operand_type_match): Also clear all size fields.
|
|
|
|
|
(match_template): Skip Intel syntax when in AT&T syntax.
|
|
|
|
|
Call operand_size_match to check operand size.
|
|
|
|
|
(i386_att_operand): Set the mem field to 1 for memory
|
|
|
|
|
operand.
|
|
|
|
|
(i386_intel_operand): Likewise.
|
|
|
|
|
|
gas/testsuite/
2008-01-12 H.J. Lu <hongjiu.lu@intel.com>
PR gas/5534
* gas/i386/i386.s: Add tests for fnstsw and fstsw.
* gas/i386/inval.s: Likewise.
* gas/i386/x86_64.s: Likewise.
* gas/i386/intel.s: Use word instead of dword on ss.
* gas/i386/x86-64-inval.s: Add tests for fnstsw, fstsw, in
and out.
* gas/i386/prefix.s: Remove invalid fstsw.
* gas/i386/inval.l: Updated.
* gas/i386/intelbad.l: Likewise.
* gas/i386/i386.d: Likewise.
* gas/i386/x86_64.d: Likewise.
* gas/i386/x86-64-inval.l: Likewise.
* gas/i386/prefix.d: Updated.
gas/
2008-01-12 H.J. Lu <hongjiu.lu@intel.com>
PR gas/5534
* config/tc-i386.c (_i386_insn): Update comment.
(operand_type_match): Also clear unspecified.
(operand_type_register_match): Likewise.
(parse_operands): Initialize unspecified.
(i386_intel_operand): Likewise.
(match_template): Check memory and accumulator operand size.
(i386_att_operand): Clear unspecified on register operand.
(intel_e11): Likewise.
(intel_e09): Set operand size and clean unspecified for
"XXX PTR".
opcodes/
2008-01-12 H.J. Lu <hongjiu.lu@intel.com>
PR gas/5534
* i386-gen.c (operand_type_init): Add Dword to
OPERAND_TYPE_ACC32. Add Qword to OPERAND_TYPE_ACC64.
(opcode_modifiers): Remove CheckSize, Byte, Word, Dword,
Qword and Xmmword.
(operand_types): Add Byte, Word, Dword, Fword, Qword, Tbyte,
Xmmword, Unspecified and Anysize.
(set_bitfield): Make Mmword an alias of Qword. Make Oword
an alias of Xmmword.
* i386-opc.h (CheckSize): Removed.
(Byte): Updated.
(Word): Likewise.
(Dword): Likewise.
(Qword): Likewise.
(Xmmword): Likewise.
(FWait): Updated.
(OTMax): Likewise.
(i386_opcode_modifier): Remove checksize, byte, word, dword,
qword and xmmword.
(Fword): New.
(TBYTE): Likewise.
(Unspecified): Likewise.
(Anysize): Likewise.
(i386_operand_type): Add byte, word, dword, fword, qword,
tbyte xmmword, unspecified and anysize.
* i386-opc.tbl: Updated to use Byte, Word, Dword, Fword, Qword,
Tbyte, Xmmword, Unspecified and Anysize.
* i386-reg.tbl: Add size for accumulator.
* i386-init.h: Regenerated.
* i386-tbl.h: Likewise.
2008-01-12 17:05:42 +01:00
|
|
|
|
2008-01-12 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR gas/5534
|
|
|
|
|
* config/tc-i386.c (_i386_insn): Update comment.
|
|
|
|
|
(operand_type_match): Also clear unspecified.
|
|
|
|
|
(operand_type_register_match): Likewise.
|
|
|
|
|
(parse_operands): Initialize unspecified.
|
|
|
|
|
(i386_intel_operand): Likewise.
|
|
|
|
|
(match_template): Check memory and accumulator operand size.
|
|
|
|
|
(i386_att_operand): Clear unspecified on register operand.
|
|
|
|
|
(intel_e11): Likewise.
|
|
|
|
|
(intel_e09): Set operand size and clean unspecified for
|
|
|
|
|
"XXX PTR".
|
|
|
|
|
|
2008-01-11 17:18:43 +01:00
|
|
|
|
2008-01-11 Andreas Schwab <schwab@suse.de>
|
|
|
|
|
|
|
|
|
|
* read.c (s_space): Declare `repeat' as offsetT.
|
|
|
|
|
|
2008-01-10 22:59:46 +01:00
|
|
|
|
2008-01-10 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-i386.c (match_template): Check processor support
|
|
|
|
|
first.
|
|
|
|
|
|
2008-01-10 21:53:27 +01:00
|
|
|
|
2008-01-10 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-i386.c (match_template): Continue if processor
|
|
|
|
|
doesn't match.
|
|
|
|
|
|
2008-01-09 23:36:06 +01:00
|
|
|
|
2008-01-09 Alexandre Oliva <aoliva@redhat.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-ia64.c (ia64_convert_frag): Zero-initialize room for
|
|
|
|
|
unwind personality function address.
|
|
|
|
|
|
2008-01-09 18:30:59 +01:00
|
|
|
|
2008-01-09 Bob Wilson <bob.wilson@acm.org>
|
|
|
|
|
|
|
|
|
|
* dwarf2dbg.c (out_sleb128): Delete.
|
|
|
|
|
(size_fixed_inc_line_addr, emit_fixed_inc_line_addr): New.
|
|
|
|
|
(out_fixed_inc_line_addr): Delete.
|
|
|
|
|
(relax_inc_line_addr, dwarf2dbg_estimate_size_before_relax): Call new
|
|
|
|
|
size_fixed_inc_line_addr if DWARF2_USE_FIXED_ADVANCE_PC is set.
|
|
|
|
|
(dwarf2dbg_convert_frag): Likewise for emit_fixed_inc_line_addr.
|
|
|
|
|
(process_entries): Remove calls to out_fixed_inc_line_addr. When
|
|
|
|
|
DWARF2_USE_FIXED_ADVANCE_PC is set, call relax_inc_line_addr.
|
|
|
|
|
* read.h (emit_expr_fix): New prototype.
|
|
|
|
|
* read.c (emit_expr): Move code to emit_expr_fix and use it here.
|
|
|
|
|
(emit_expr_fix): New.
|
|
|
|
|
|
2008-01-09 17:55:14 +01:00
|
|
|
|
2008-01-09 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-i386.c (match_template): Check register size
|
|
|
|
|
only when size of operands can be encoded the canonical way.
|
|
|
|
|
|
2008-01-08 20:51:24 +01:00
|
|
|
|
2008-01-08 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-i386.c (i386_operand): Renamed to ...
|
|
|
|
|
(i386_att_operand): This.
|
|
|
|
|
(parse_operands): Updated.
|
|
|
|
|
|
gas/
2008-01-05 H.J. Lu <hongjiu.lu@intel.com>
* doc/c-i386.texi: Update .att_mnemonic and .intel_mnemonic.
* config/tc-i386.c (set_intel_mnemonic): Set intel_mnemonic
only.
(md_assemble): Remove Intel mode workaround.
(match_template): Check support for old gcc, AT&T mnemonic
and Intel Syntax.
(md_parse_option): Don't set intel_mnemonic to 0 for
OPTION_MOLD_GCC.
gas/testsuite/
2008-01-05 H.J. Lu <hongjiu.lu@intel.com>
* gas/i386/intel.s: Add tests for fadd, faddp, fdiv, fdivp,
fdivr, fdivrp, fmul, fmulp, fsub, fsubp, fsubr and fsubrp.
* gas/i386/intel.d: Updated.
* gas/i386/intel.e: Likewise.
opcodes/
2008-01-05 H.J. Lu <hongjiu.lu@intel.com>
* i386-gen.c (opcode_modifiers): Rename IntelMnemonic to
ATTSyntax.
* i386-opc.h (IntelMnemonic): Renamed to ..
(ATTSyntax): This
(Opcode_Modifier_Max): Updated.
(i386_opcode_modifier): Remove intelmnemonic. Add attsyntax
and intelsyntax.
* i386-opc.tbl: Remove IntelMnemonic and update with ATTSyntax
on fsub, fubp, fsubr, fsubrp, div, fdivp, fdivr and fdivrp.
* i386-tbl.h: Regenerated.
2008-01-05 18:07:25 +01:00
|
|
|
|
2008-01-05 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* doc/c-i386.texi: Update .att_mnemonic and .intel_mnemonic.
|
|
|
|
|
|
|
|
|
|
* config/tc-i386.c (set_intel_mnemonic): Set intel_mnemonic
|
|
|
|
|
only.
|
|
|
|
|
(md_assemble): Remove Intel mode workaround.
|
|
|
|
|
(match_template): Check support for old gcc, AT&T mnemonic
|
|
|
|
|
and Intel Syntax.
|
|
|
|
|
(md_parse_option): Don't set intel_mnemonic to 0 for
|
|
|
|
|
OPTION_MOLD_GCC.
|
|
|
|
|
|
2008-01-04 19:19:12 +01:00
|
|
|
|
2008-01-04 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-i386.h: Update copyright to 2008.
|
|
|
|
|
|
2008-01-04 15:53:50 +01:00
|
|
|
|
2008-01-04 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-ppc.c (parse_cpu): Preserve the settings of the
|
|
|
|
|
PPC_OPCODE_ALTIVEC and PPC_OPCODE_SPE flags.
|
|
|
|
|
|
2008-01-04 02:27:01 +01:00
|
|
|
|
2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-i386.c (md_assemble): Use !intel_mnemonic instead
|
|
|
|
|
of SYSV386_COMPAT.
|
|
|
|
|
|
2008-01-04 02:05:45 +01:00
|
|
|
|
2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* gas/config/tc-i386.c (cpu_arch_flags_not): Removed.
|
|
|
|
|
(cpu_flags_not): Likewise.
|
|
|
|
|
(cpu_flags_match): Updated to check 64bit and arch.
|
|
|
|
|
(set_code_flag): Remove cpu_arch_flags_not.
|
|
|
|
|
(set_16bit_gcc_code_flag): Likewise.
|
|
|
|
|
(set_cpu_arch): Likewise.
|
|
|
|
|
(md_begin): Likewise.
|
|
|
|
|
(parse_insn): Call cpu_flags_match to check 64bit and arch.
|
|
|
|
|
(match_template): Likewise.
|
|
|
|
|
|
2008-01-03 21:19:29 +01:00
|
|
|
|
2008-01-03 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-i386.c (process_drex): Initialize modrm_reg and
|
|
|
|
|
modrm_regmem to 0 instead of None.
|
|
|
|
|
|
2008-01-03 21:09:38 +01:00
|
|
|
|
2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-i386.c (match_template): Use the xmmword field
|
|
|
|
|
instead of no_xsuf.
|
|
|
|
|
|
2008-01-03 00:55:45 +01:00
|
|
|
|
2008-01-02 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-i386.c (process_suffix): Fix a typo.
|
|
|
|
|
|
gas/
2008-01-02 H.J. Lu <hongjiu.lu@intel.com>
PR gas/5534
* config/tc-i386.c (match_template): Handle XMMWORD_MNEM_SUFFIX.
Check memory size in Intel mode.
(process_suffix): Handle XMMWORD_MNEM_SUFFIX.
(intel_e09): Likewise.
* config/tc-i386.h (XMMWORD_MNEM_SUFFIX): New.
gas/testsuite/
2008-01-02 H.J. Lu <hongjiu.lu@intel.com>
PR gas/5534
* gas/i386/intel.s: Use QWORD on movq instead of DWORD.
* gas/i386/inval.s: Add tests for movq.
* gas/i386/x86-64-inval.s: Likewise.
* gas/i386/inval.l: Updated.
* gas/i386/x86-64-inval.l: Likewise.
opcodes/
2008-01-02 H.J. Lu <hongjiu.lu@intel.com>
PR gas/5534
* i386-gen.c (opcode_modifiers): Add No_xSuf, CheckSize,
Byte, Word, Dword, QWord and Xmmword.
* i386-opc.h (No_xSuf): New.
(CheckSize): Likewise.
(Byte): Likewise.
(Word): Likewise.
(Dword): Likewise.
(QWord): Likewise.
(Xmmword): Likewise.
(FWait): Updated.
(i386_opcode_modifier): Add No_xSuf, CheckSize, Byte, Word,
Dword, QWord and Xmmword.
* i386-opc.tbl: Add CheckSize|QWord to movq if IgnoreSize is
used.
* i386-tbl.h: Regenerated.
2008-01-02 22:43:34 +01:00
|
|
|
|
2008-01-02 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR gas/5534
|
|
|
|
|
* config/tc-i386.c (match_template): Handle XMMWORD_MNEM_SUFFIX.
|
|
|
|
|
Check memory size in Intel mode.
|
|
|
|
|
(process_suffix): Handle XMMWORD_MNEM_SUFFIX.
|
|
|
|
|
(intel_e09): Likewise.
|
|
|
|
|
|
|
|
|
|
* config/tc-i386.h (XMMWORD_MNEM_SUFFIX): New.
|
|
|
|
|
|
2008-01-02 21:59:47 +01:00
|
|
|
|
2008-01-02 Catherine Moore <clm@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-mips.c (mips_ip): Check operands on jalr instruction.
|
|
|
|
|
|
2008-01-02 22:41:02 +01:00
|
|
|
|
For older changes see ChangeLog-2007
|
2002-01-07 13:12:47 +01:00
|
|
|
|
|
|
|
|
|
Local Variables:
|
|
|
|
|
mode: change-log
|
|
|
|
|
left-margin: 8
|
|
|
|
|
fill-column: 74
|
|
|
|
|
version-control: never
|
|
|
|
|
End:
|