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