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