1 2008-02-18 Jan Beulich <jbeulich@novell.com>
3 * config/tc-i386.c (match_template): Disallow 'l' suffix when
4 currently selected CPU has no 32-bit support.
5 (parse_real_register): Do not return registers not available on
6 currently selected CPU.
8 2008-02-16 H.J. Lu <hongjiu.lu@intel.com>
10 * config/tc-i386.c (process_immext): Fix format.
12 2008-02-16 H.J. Lu <hongjiu.lu@intel.com>
14 * config/tc-i386.c (inoutportreg): New.
15 (process_immext): New.
16 (md_assemble): Use it.
17 (update_imm): Use imm16 and imm32s.
18 (i386_att_operand): Use inoutportreg.
20 2008-02-14 H.J. Lu <hongjiu.lu@intel.com>
22 * config/tc-i386.c (operand_type_all_zero): New.
23 (operand_type_set): Likewise.
24 (operand_type_equal): Likewise.
25 (cpu_flags_all_zero): Likewise.
26 (cpu_flags_set): Likewise.
27 (cpu_flags_equal): Likewise.
28 (UINTS_ALL_ZERO): Removed.
29 (UINTS_SET): Likewise.
30 (UINTS_CLEAR): Likewise.
31 (UINTS_EQUAL): Likewise.
32 (cpu_flags_match): Updated.
33 (smallest_imm_type): Likewise.
34 (set_cpu_arch): Likewise.
35 (md_assemble): Likewise.
36 (optimize_imm): Likewise.
37 (match_template): Likewise.
38 (process_suffix): Likewise.
39 (update_imm): Likewise.
40 (process_drex): Likewise.
41 (process_operands): Likewise.
42 (build_modrm_byte): Likewise.
43 (i386_immediate): Likewise.
44 (i386_displacement): Likewise.
45 (i386_att_operand): Likewise.
46 (parse_real_register): Likewise.
47 (md_parse_option): Likewise.
48 (i386_target_format): Likewise.
50 2008-02-14 Dimitry Andric <dimitry@andric.com>
53 * config/tc-arm.c (s_arm_unwind_save): Advance the input line
54 pointer past the comma after parsing a floating point register
57 2008-02-14 Hakan Ardo <hakan@debian.org>
60 * config/tc-avr.c (mcu_types): Change the ISA tyoe of the attiny26
62 (avr_operand): Disallow post-increment addressing in the lpm
63 instruction for the attiny26.
65 2008-02-13 Jan Beulich <jbeulich@novell.com>
67 * config/tc-i386.c (parse_real_register): Don't return 'FLAT'
69 (i386_intel_operand): Ignore segment overrides in immediate and
71 (intel_e11): Range-check i.mem_operands before use as array
72 index. Filter out FLAT for uses other than as segment override.
73 (intel_get_token): Remove broken promotion of "FLAT:" to mean
76 2008-02-13 Jan Beulich <jbeulich@novell.com>
78 * config/tc-i386.c (intel_e09): Also special-case 'bound'.
80 2008-02-13 Jan Beulich <jbeulich@novell.com>
82 * config/tc-i386.c (allow_pseudo_reg): New.
83 (parse_real_register): Check for NULL just once. Allow all
84 register table entries when allow_pseudo_reg is non-zero.
85 Don't allow any registers without type when allow_pseudo_reg
87 (tc_x86_regname_to_dw2regnum): Replace with ...
88 (tc_x86_parse_to_dw2regnum): ... this.
89 (tc_x86_frame_initial_instructions): Adjust for above change.
90 * config/tc-i386.h (tc_regname_to_dw2regnum): Remove.
91 (tc_parse_to_dw2regnum): New.
92 (tc_x86_regname_to_dw2regnum): Replace with ...
93 (tc_x86_parse_to_dw2regnum): ... this.
94 * dw2gencfi.c (tc_parse_to_dw2regnum): New, broken out of ...
95 (cfi_parse_reg): ... this. Use tc_parse_to_dw2regnum. Adjust
98 2008-02-12 Nick Clifton <nickc@redhat.com>
100 * config/tc-tic4x.c (tic4x_insn_insert): Add const qualifier to
102 (tic4x_insn_add): Likewise.
103 (md_begin): Drop cast that was discarding a const qualifier.
104 * config/tc-d30v.c (get_reloc): Add const qualifier to op
106 (build_insn): Drop cast that was discarding a const qualifier.
108 2008-02-11 H.J. Lu <hongjiu.lu@intel.com>
110 * config/tc-i386.c (cpu_arch): Add .xsave.
111 (md_show_usage): Add .xsave.
113 * doc/c-i386.texi: Add xsave to -march=.
115 2008-02-07 Alan Modra <amodra@bigpond.net.au>
117 * read.c (s_weakref): Don't pass unadorned NULL to concat.
118 * config/tc-i386.c (set_cpu_arch, md_parse_option): Likewise.
120 2008-02-05 Sterling Augustine <sterling@tensilica.com>
122 * config/tc-xtensa.c (relax_frag_immed): Change internal consistency
123 checks into assertions. When relaxation produces an operation that
124 does not fit in the current FLIX instruction, make sure that the
125 operation is relaxed as needed to account for being placed following
126 the current instruction.
128 2008-02-04 H.J. Lu <hongjiu.lu@intel.com>
131 * configure: Regenerated.
133 2008-02-04 Adam Nemet <anemet@caviumnetworks.com>
135 * config/tc-mips.c (mips_cpu_info_table): Add Octeon.
137 2008-01-31 Marc Gauthier <marc@tensilica.com>
139 * configure.tgt (xtensa*-*-*): Recognize processor variants.
141 2008-01-25 Kai Tietz <kai.tietz@onevision.com>
143 * read.c: (emit_expr): Correct for mingw use of printf size
146 2008-01-24 Bob Wilson <bob.wilson@acm.org>
148 * doc/c-xtensa.texi (Xtensa Syntax): Clarify handling of opcodes that
149 can only be encoded in FLIX instructions but are not specified as such.
150 (Xtensa Automatic Alignment): Remove obsolete comment about debugging
153 2008-01-24 H.J. Lu <hongjiu.lu@intel.com>
155 * NEWS: Mention new command line options for x86 targets.
157 2008-01-23 H.J. Lu <hongjiu.lu@intel.com>
159 * config/tc-i386.c (md_show_usage): Replace tabs with spaces.
161 2008-01-23 Eric B. Weddington <eric.weddington@atmel.com>
163 * config/tc-avr.c (mcu_types): Change opcode set for at86rf401.
165 2008-01-23 H.J. Lu <hongjiu.lu@intel.com>
167 * config/tc-i386.c (md_show_usage): Show more processors for
170 2008-01-22 H.J. Lu <hongjiu.lu@intel.com>
172 * config/tc-i386.c (i386_target_format): Remove cpummx2.
174 2008-01-22 H.J. Lu <hongjiu.lu@intel.com>
176 * config/tc-i386.c (XXX_PREFIX): Moved from tc-i386.h.
177 (XXX_MNEM_SUFFIX): Likewise.
178 (END_OF_INSN): Likewise.
179 (templates): Likewise.
180 (modrm_byte): Likewise.
181 (rex_byte): Likewise.
182 (DREX_XXX): Likewise.
183 (drex_byte): Likewise.
184 (sib_byte): Likewise.
185 (processor_type): Likewise.
186 (arch_entry): Likewise.
187 (cpu_sub_arch_name): Remove const.
188 (cpu_arch): Add .vmx and .smx.
189 (set_cpu_arch): Append cpu_sub_arch_name.
190 (md_parse_option): Support -march=CPU[,+EXTENSION...].
191 (md_show_usage): Updated.
193 * config/tc-i386.h (XXX_PREFIX): Moved to tc-i386.c.
194 (XXX_MNEM_SUFFIX): Likewise.
195 (END_OF_INSN): Likewise.
196 (templates): Likewise.
197 (modrm_byte): Likewise.
198 (rex_byte): Likewise.
199 (DREX_XXX): Likewise.
200 (drex_byte): Likewise.
201 (sib_byte): Likewise.
202 (processor_type): Likewise.
203 (arch_entry): Likewise.
205 * doc/as.texinfo: Update i386 -march option.
207 * doc/c-i386.texi: Update -march= for ISA.
209 2008-01-18 Bob Wilson <bob.wilson@acm.org>
211 * config/tc-xtensa.c (xtensa_leb128): New function.
212 (md_pseudo_table): Use it for sleb128 and uleb128.
213 (is_leb128_expr): New internal flag.
214 (xtensa_symbol_new_hook): Check new flag.
216 2008-01-16 Eric B. Weddington <eric.weddington@atmel.com>
218 * config/tc-avr.c (mcu_types): Change opcode set for avr3,
219 at90usb82, at90usb162.
220 * doc/c-avr.texi: Change architecture grouping for at90usb82,
222 These changes support the new avr35 architecture group in gcc.
224 2008-01-15 H.J. Lu <hongjiu.lu@intel.com>
226 * config/tc-i386.c (md_assemble): Also zap movzx and movsx
227 suffix for AT&T syntax.
229 2008-01-14 H.J. Lu <hongjiu.lu@intel.com>
231 * config/tc-i386.c (match_reg_size): New.
232 (match_mem_size): Likewise.
233 (operand_size_match): Likewise.
234 (operand_type_match): Also clear all size fields.
235 (match_template): Skip Intel syntax when in AT&T syntax.
236 Call operand_size_match to check operand size.
237 (i386_att_operand): Set the mem field to 1 for memory
239 (i386_intel_operand): Likewise.
241 2008-01-12 H.J. Lu <hongjiu.lu@intel.com>
244 * config/tc-i386.c (_i386_insn): Update comment.
245 (operand_type_match): Also clear unspecified.
246 (operand_type_register_match): Likewise.
247 (parse_operands): Initialize unspecified.
248 (i386_intel_operand): Likewise.
249 (match_template): Check memory and accumulator operand size.
250 (i386_att_operand): Clear unspecified on register operand.
251 (intel_e11): Likewise.
252 (intel_e09): Set operand size and clean unspecified for
255 2008-01-11 Andreas Schwab <schwab@suse.de>
257 * read.c (s_space): Declare `repeat' as offsetT.
259 2008-01-10 H.J. Lu <hongjiu.lu@intel.com>
261 * config/tc-i386.c (match_template): Check processor support
264 2008-01-10 H.J. Lu <hongjiu.lu@intel.com>
266 * config/tc-i386.c (match_template): Continue if processor
269 2008-01-09 Alexandre Oliva <aoliva@redhat.com>
271 * config/tc-ia64.c (ia64_convert_frag): Zero-initialize room for
272 unwind personality function address.
274 2008-01-09 Bob Wilson <bob.wilson@acm.org>
276 * dwarf2dbg.c (out_sleb128): Delete.
277 (size_fixed_inc_line_addr, emit_fixed_inc_line_addr): New.
278 (out_fixed_inc_line_addr): Delete.
279 (relax_inc_line_addr, dwarf2dbg_estimate_size_before_relax): Call new
280 size_fixed_inc_line_addr if DWARF2_USE_FIXED_ADVANCE_PC is set.
281 (dwarf2dbg_convert_frag): Likewise for emit_fixed_inc_line_addr.
282 (process_entries): Remove calls to out_fixed_inc_line_addr. When
283 DWARF2_USE_FIXED_ADVANCE_PC is set, call relax_inc_line_addr.
284 * read.h (emit_expr_fix): New prototype.
285 * read.c (emit_expr): Move code to emit_expr_fix and use it here.
286 (emit_expr_fix): New.
288 2008-01-09 H.J. Lu <hongjiu.lu@intel.com>
290 * config/tc-i386.c (match_template): Check register size
291 only when size of operands can be encoded the canonical way.
293 2008-01-08 H.J. Lu <hongjiu.lu@intel.com>
295 * config/tc-i386.c (i386_operand): Renamed to ...
296 (i386_att_operand): This.
297 (parse_operands): Updated.
299 2008-01-05 H.J. Lu <hongjiu.lu@intel.com>
301 * doc/c-i386.texi: Update .att_mnemonic and .intel_mnemonic.
303 * config/tc-i386.c (set_intel_mnemonic): Set intel_mnemonic
305 (md_assemble): Remove Intel mode workaround.
306 (match_template): Check support for old gcc, AT&T mnemonic
308 (md_parse_option): Don't set intel_mnemonic to 0 for
311 2008-01-04 H.J. Lu <hongjiu.lu@intel.com>
313 * config/tc-i386.h: Update copyright to 2008.
315 2008-01-04 Nick Clifton <nickc@redhat.com>
317 * config/tc-ppc.c (parse_cpu): Preserve the settings of the
318 PPC_OPCODE_ALTIVEC and PPC_OPCODE_SPE flags.
320 2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
322 * config/tc-i386.c (md_assemble): Use !intel_mnemonic instead
325 2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
327 * gas/config/tc-i386.c (cpu_arch_flags_not): Removed.
328 (cpu_flags_not): Likewise.
329 (cpu_flags_match): Updated to check 64bit and arch.
330 (set_code_flag): Remove cpu_arch_flags_not.
331 (set_16bit_gcc_code_flag): Likewise.
332 (set_cpu_arch): Likewise.
333 (md_begin): Likewise.
334 (parse_insn): Call cpu_flags_match to check 64bit and arch.
335 (match_template): Likewise.
337 2008-01-03 Jakub Jelinek <jakub@redhat.com>
339 * config/tc-i386.c (process_drex): Initialize modrm_reg and
340 modrm_regmem to 0 instead of None.
342 2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
344 * config/tc-i386.c (match_template): Use the xmmword field
347 2008-01-02 H.J. Lu <hongjiu.lu@intel.com>
349 * config/tc-i386.c (process_suffix): Fix a typo.
351 2008-01-02 H.J. Lu <hongjiu.lu@intel.com>
354 * config/tc-i386.c (match_template): Handle XMMWORD_MNEM_SUFFIX.
355 Check memory size in Intel mode.
356 (process_suffix): Handle XMMWORD_MNEM_SUFFIX.
357 (intel_e09): Likewise.
359 * config/tc-i386.h (XMMWORD_MNEM_SUFFIX): New.
361 2008-01-02 Catherine Moore <clm@codesourcery.com>
363 * config/tc-mips.c (mips_ip): Check operands on jalr instruction.
365 For older changes see ChangeLog-2007
371 version-control: never