1 2008-02-13 Jan Beulich <jbeulich@novell.com>
3 * config/tc-i386.c (parse_real_register): Don't return 'FLAT'
5 (i386_intel_operand): Ignore segment overrides in immediate and
7 (intel_e11): Range-check i.mem_operands before use as array
8 index. Filter out FLAT for uses other than as segment override.
9 (intel_get_token): Remove broken promotion of "FLAT:" to mean
12 2008-02-13 Jan Beulich <jbeulich@novell.com>
14 * config/tc-i386.c (intel_e09): Also special-case 'bound'.
16 2008-02-13 Jan Beulich <jbeulich@novell.com>
18 * config/tc-i386.c (allow_pseudo_reg): New.
19 (parse_real_register): Check for NULL just once. Allow all
20 register table entries when allow_pseudo_reg is non-zero.
21 Don't allow any registers without type when allow_pseudo_reg
23 (tc_x86_regname_to_dw2regnum): Replace with ...
24 (tc_x86_parse_to_dw2regnum): ... this.
25 (tc_x86_frame_initial_instructions): Adjust for above change.
26 * config/tc-i386.h (tc_regname_to_dw2regnum): Remove.
27 (tc_parse_to_dw2regnum): New.
28 (tc_x86_regname_to_dw2regnum): Replace with ...
29 (tc_x86_parse_to_dw2regnum): ... this.
30 * dw2gencfi.c (tc_parse_to_dw2regnum): New, broken out of ...
31 (cfi_parse_reg): ... this. Use tc_parse_to_dw2regnum. Adjust
34 2008-02-12 Nick Clifton <nickc@redhat.com>
36 * config/tc-tic4x.c (tic4x_insn_insert): Add const qualifier to
38 (tic4x_insn_add): Likewise.
39 (md_begin): Drop cast that was discarding a const qualifier.
40 * config/tc-d30v.c (get_reloc): Add const qualifier to op
42 (build_insn): Drop cast that was discarding a const qualifier.
44 2008-02-11 H.J. Lu <hongjiu.lu@intel.com>
46 * config/tc-i386.c (cpu_arch): Add .xsave.
47 (md_show_usage): Add .xsave.
49 * doc/c-i386.texi: Add xsave to -march=.
51 2008-02-07 Alan Modra <amodra@bigpond.net.au>
53 * read.c (s_weakref): Don't pass unadorned NULL to concat.
54 * config/tc-i386.c (set_cpu_arch, md_parse_option): Likewise.
56 2008-02-05 Sterling Augustine <sterling@tensilica.com>
58 * config/tc-xtensa.c (relax_frag_immed): Change internal consistency
59 checks into assertions. When relaxation produces an operation that
60 does not fit in the current FLIX instruction, make sure that the
61 operation is relaxed as needed to account for being placed following
62 the current instruction.
64 2008-02-04 H.J. Lu <hongjiu.lu@intel.com>
67 * configure: Regenerated.
69 2008-02-04 Adam Nemet <anemet@caviumnetworks.com>
71 * config/tc-mips.c (mips_cpu_info_table): Add Octeon.
73 2008-01-31 Marc Gauthier <marc@tensilica.com>
75 * configure.tgt (xtensa*-*-*): Recognize processor variants.
77 2008-01-25 Kai Tietz <kai.tietz@onevision.com>
79 * read.c: (emit_expr): Correct for mingw use of printf size
82 2008-01-24 Bob Wilson <bob.wilson@acm.org>
84 * doc/c-xtensa.texi (Xtensa Syntax): Clarify handling of opcodes that
85 can only be encoded in FLIX instructions but are not specified as such.
86 (Xtensa Automatic Alignment): Remove obsolete comment about debugging
89 2008-01-24 H.J. Lu <hongjiu.lu@intel.com>
91 * NEWS: Mention new command line options for x86 targets.
93 2008-01-23 H.J. Lu <hongjiu.lu@intel.com>
95 * config/tc-i386.c (md_show_usage): Replace tabs with spaces.
97 2008-01-23 Eric B. Weddington <eric.weddington@atmel.com>
99 * config/tc-avr.c (mcu_types): Change opcode set for at86rf401.
101 2008-01-23 H.J. Lu <hongjiu.lu@intel.com>
103 * config/tc-i386.c (md_show_usage): Show more processors for
106 2008-01-22 H.J. Lu <hongjiu.lu@intel.com>
108 * config/tc-i386.c (i386_target_format): Remove cpummx2.
110 2008-01-22 H.J. Lu <hongjiu.lu@intel.com>
112 * config/tc-i386.c (XXX_PREFIX): Moved from tc-i386.h.
113 (XXX_MNEM_SUFFIX): Likewise.
114 (END_OF_INSN): Likewise.
115 (templates): Likewise.
116 (modrm_byte): Likewise.
117 (rex_byte): Likewise.
118 (DREX_XXX): Likewise.
119 (drex_byte): Likewise.
120 (sib_byte): Likewise.
121 (processor_type): Likewise.
122 (arch_entry): Likewise.
123 (cpu_sub_arch_name): Remove const.
124 (cpu_arch): Add .vmx and .smx.
125 (set_cpu_arch): Append cpu_sub_arch_name.
126 (md_parse_option): Support -march=CPU[,+EXTENSION...].
127 (md_show_usage): Updated.
129 * config/tc-i386.h (XXX_PREFIX): Moved to tc-i386.c.
130 (XXX_MNEM_SUFFIX): Likewise.
131 (END_OF_INSN): Likewise.
132 (templates): Likewise.
133 (modrm_byte): Likewise.
134 (rex_byte): Likewise.
135 (DREX_XXX): Likewise.
136 (drex_byte): Likewise.
137 (sib_byte): Likewise.
138 (processor_type): Likewise.
139 (arch_entry): Likewise.
141 * doc/as.texinfo: Update i386 -march option.
143 * doc/c-i386.texi: Update -march= for ISA.
145 2008-01-18 Bob Wilson <bob.wilson@acm.org>
147 * config/tc-xtensa.c (xtensa_leb128): New function.
148 (md_pseudo_table): Use it for sleb128 and uleb128.
149 (is_leb128_expr): New internal flag.
150 (xtensa_symbol_new_hook): Check new flag.
152 2008-01-16 Eric B. Weddington <eric.weddington@atmel.com>
154 * config/tc-avr.c (mcu_types): Change opcode set for avr3,
155 at90usb82, at90usb162.
156 * doc/c-avr.texi: Change architecture grouping for at90usb82,
158 These changes support the new avr35 architecture group in gcc.
160 2008-01-15 H.J. Lu <hongjiu.lu@intel.com>
162 * config/tc-i386.c (md_assemble): Also zap movzx and movsx
163 suffix for AT&T syntax.
165 2008-01-14 H.J. Lu <hongjiu.lu@intel.com>
167 * config/tc-i386.c (match_reg_size): New.
168 (match_mem_size): Likewise.
169 (operand_size_match): Likewise.
170 (operand_type_match): Also clear all size fields.
171 (match_template): Skip Intel syntax when in AT&T syntax.
172 Call operand_size_match to check operand size.
173 (i386_att_operand): Set the mem field to 1 for memory
175 (i386_intel_operand): Likewise.
177 2008-01-12 H.J. Lu <hongjiu.lu@intel.com>
180 * config/tc-i386.c (_i386_insn): Update comment.
181 (operand_type_match): Also clear unspecified.
182 (operand_type_register_match): Likewise.
183 (parse_operands): Initialize unspecified.
184 (i386_intel_operand): Likewise.
185 (match_template): Check memory and accumulator operand size.
186 (i386_att_operand): Clear unspecified on register operand.
187 (intel_e11): Likewise.
188 (intel_e09): Set operand size and clean unspecified for
191 2008-01-11 Andreas Schwab <schwab@suse.de>
193 * read.c (s_space): Declare `repeat' as offsetT.
195 2008-01-10 H.J. Lu <hongjiu.lu@intel.com>
197 * config/tc-i386.c (match_template): Check processor support
200 2008-01-10 H.J. Lu <hongjiu.lu@intel.com>
202 * config/tc-i386.c (match_template): Continue if processor
205 2008-01-09 Alexandre Oliva <aoliva@redhat.com>
207 * config/tc-ia64.c (ia64_convert_frag): Zero-initialize room for
208 unwind personality function address.
210 2008-01-09 Bob Wilson <bob.wilson@acm.org>
212 * dwarf2dbg.c (out_sleb128): Delete.
213 (size_fixed_inc_line_addr, emit_fixed_inc_line_addr): New.
214 (out_fixed_inc_line_addr): Delete.
215 (relax_inc_line_addr, dwarf2dbg_estimate_size_before_relax): Call new
216 size_fixed_inc_line_addr if DWARF2_USE_FIXED_ADVANCE_PC is set.
217 (dwarf2dbg_convert_frag): Likewise for emit_fixed_inc_line_addr.
218 (process_entries): Remove calls to out_fixed_inc_line_addr. When
219 DWARF2_USE_FIXED_ADVANCE_PC is set, call relax_inc_line_addr.
220 * read.h (emit_expr_fix): New prototype.
221 * read.c (emit_expr): Move code to emit_expr_fix and use it here.
222 (emit_expr_fix): New.
224 2008-01-09 H.J. Lu <hongjiu.lu@intel.com>
226 * config/tc-i386.c (match_template): Check register size
227 only when size of operands can be encoded the canonical way.
229 2008-01-08 H.J. Lu <hongjiu.lu@intel.com>
231 * config/tc-i386.c (i386_operand): Renamed to ...
232 (i386_att_operand): This.
233 (parse_operands): Updated.
235 2008-01-05 H.J. Lu <hongjiu.lu@intel.com>
237 * doc/c-i386.texi: Update .att_mnemonic and .intel_mnemonic.
239 * config/tc-i386.c (set_intel_mnemonic): Set intel_mnemonic
241 (md_assemble): Remove Intel mode workaround.
242 (match_template): Check support for old gcc, AT&T mnemonic
244 (md_parse_option): Don't set intel_mnemonic to 0 for
247 2008-01-04 H.J. Lu <hongjiu.lu@intel.com>
249 * config/tc-i386.h: Update copyright to 2008.
251 2008-01-04 Nick Clifton <nickc@redhat.com>
253 * config/tc-ppc.c (parse_cpu): Preserve the settings of the
254 PPC_OPCODE_ALTIVEC and PPC_OPCODE_SPE flags.
256 2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
258 * config/tc-i386.c (md_assemble): Use !intel_mnemonic instead
261 2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
263 * gas/config/tc-i386.c (cpu_arch_flags_not): Removed.
264 (cpu_flags_not): Likewise.
265 (cpu_flags_match): Updated to check 64bit and arch.
266 (set_code_flag): Remove cpu_arch_flags_not.
267 (set_16bit_gcc_code_flag): Likewise.
268 (set_cpu_arch): Likewise.
269 (md_begin): Likewise.
270 (parse_insn): Call cpu_flags_match to check 64bit and arch.
271 (match_template): Likewise.
273 2008-01-03 Jakub Jelinek <jakub@redhat.com>
275 * config/tc-i386.c (process_drex): Initialize modrm_reg and
276 modrm_regmem to 0 instead of None.
278 2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
280 * config/tc-i386.c (match_template): Use the xmmword field
283 2008-01-02 H.J. Lu <hongjiu.lu@intel.com>
285 * config/tc-i386.c (process_suffix): Fix a typo.
287 2008-01-02 H.J. Lu <hongjiu.lu@intel.com>
290 * config/tc-i386.c (match_template): Handle XMMWORD_MNEM_SUFFIX.
291 Check memory size in Intel mode.
292 (process_suffix): Handle XMMWORD_MNEM_SUFFIX.
293 (intel_e09): Likewise.
295 * config/tc-i386.h (XMMWORD_MNEM_SUFFIX): New.
297 2008-01-02 Catherine Moore <clm@codesourcery.com>
299 * config/tc-mips.c (mips_ip): Check operands on jalr instruction.
301 For older changes see ChangeLog-2007
307 version-control: never