1 2008-02-14 H.J. Lu <hongjiu.lu@intel.com>
3 * config/tc-i386.c (operand_type_all_zero): New.
4 (operand_type_set): Likewise.
5 (operand_type_equal): Likewise.
6 (cpu_flags_all_zero): Likewise.
7 (cpu_flags_set): Likewise.
8 (cpu_flags_equal): Likewise.
9 (UINTS_ALL_ZERO): Removed.
10 (UINTS_SET): Likewise.
11 (UINTS_CLEAR): Likewise.
12 (UINTS_EQUAL): Likewise.
13 (cpu_flags_match): Updated.
14 (smallest_imm_type): Likewise.
15 (set_cpu_arch): Likewise.
16 (md_assemble): Likewise.
17 (optimize_imm): Likewise.
18 (match_template): Likewise.
19 (process_suffix): Likewise.
20 (update_imm): Likewise.
21 (process_drex): Likewise.
22 (process_operands): Likewise.
23 (build_modrm_byte): Likewise.
24 (i386_immediate): Likewise.
25 (i386_displacement): Likewise.
26 (i386_att_operand): Likewise.
27 (parse_real_register): Likewise.
28 (md_parse_option): Likewise.
29 (i386_target_format): Likewise.
31 2008-02-14 Dimitry Andric <dimitry@andric.com>
34 * config/tc-arm.c (s_arm_unwind_save): Advance the input line
35 pointer past the comma after parsing a floating point register
38 2008-02-14 Hakan Ardo <hakan@debian.org>
41 * config/tc-avr.c (mcu_types): Change the ISA tyoe of the attiny26
43 (avr_operand): Disallow post-increment addressing in the lpm
44 instruction for the attiny26.
46 2008-02-13 Jan Beulich <jbeulich@novell.com>
48 * config/tc-i386.c (parse_real_register): Don't return 'FLAT'
50 (i386_intel_operand): Ignore segment overrides in immediate and
52 (intel_e11): Range-check i.mem_operands before use as array
53 index. Filter out FLAT for uses other than as segment override.
54 (intel_get_token): Remove broken promotion of "FLAT:" to mean
57 2008-02-13 Jan Beulich <jbeulich@novell.com>
59 * config/tc-i386.c (intel_e09): Also special-case 'bound'.
61 2008-02-13 Jan Beulich <jbeulich@novell.com>
63 * config/tc-i386.c (allow_pseudo_reg): New.
64 (parse_real_register): Check for NULL just once. Allow all
65 register table entries when allow_pseudo_reg is non-zero.
66 Don't allow any registers without type when allow_pseudo_reg
68 (tc_x86_regname_to_dw2regnum): Replace with ...
69 (tc_x86_parse_to_dw2regnum): ... this.
70 (tc_x86_frame_initial_instructions): Adjust for above change.
71 * config/tc-i386.h (tc_regname_to_dw2regnum): Remove.
72 (tc_parse_to_dw2regnum): New.
73 (tc_x86_regname_to_dw2regnum): Replace with ...
74 (tc_x86_parse_to_dw2regnum): ... this.
75 * dw2gencfi.c (tc_parse_to_dw2regnum): New, broken out of ...
76 (cfi_parse_reg): ... this. Use tc_parse_to_dw2regnum. Adjust
79 2008-02-12 Nick Clifton <nickc@redhat.com>
81 * config/tc-tic4x.c (tic4x_insn_insert): Add const qualifier to
83 (tic4x_insn_add): Likewise.
84 (md_begin): Drop cast that was discarding a const qualifier.
85 * config/tc-d30v.c (get_reloc): Add const qualifier to op
87 (build_insn): Drop cast that was discarding a const qualifier.
89 2008-02-11 H.J. Lu <hongjiu.lu@intel.com>
91 * config/tc-i386.c (cpu_arch): Add .xsave.
92 (md_show_usage): Add .xsave.
94 * doc/c-i386.texi: Add xsave to -march=.
96 2008-02-07 Alan Modra <amodra@bigpond.net.au>
98 * read.c (s_weakref): Don't pass unadorned NULL to concat.
99 * config/tc-i386.c (set_cpu_arch, md_parse_option): Likewise.
101 2008-02-05 Sterling Augustine <sterling@tensilica.com>
103 * config/tc-xtensa.c (relax_frag_immed): Change internal consistency
104 checks into assertions. When relaxation produces an operation that
105 does not fit in the current FLIX instruction, make sure that the
106 operation is relaxed as needed to account for being placed following
107 the current instruction.
109 2008-02-04 H.J. Lu <hongjiu.lu@intel.com>
112 * configure: Regenerated.
114 2008-02-04 Adam Nemet <anemet@caviumnetworks.com>
116 * config/tc-mips.c (mips_cpu_info_table): Add Octeon.
118 2008-01-31 Marc Gauthier <marc@tensilica.com>
120 * configure.tgt (xtensa*-*-*): Recognize processor variants.
122 2008-01-25 Kai Tietz <kai.tietz@onevision.com>
124 * read.c: (emit_expr): Correct for mingw use of printf size
127 2008-01-24 Bob Wilson <bob.wilson@acm.org>
129 * doc/c-xtensa.texi (Xtensa Syntax): Clarify handling of opcodes that
130 can only be encoded in FLIX instructions but are not specified as such.
131 (Xtensa Automatic Alignment): Remove obsolete comment about debugging
134 2008-01-24 H.J. Lu <hongjiu.lu@intel.com>
136 * NEWS: Mention new command line options for x86 targets.
138 2008-01-23 H.J. Lu <hongjiu.lu@intel.com>
140 * config/tc-i386.c (md_show_usage): Replace tabs with spaces.
142 2008-01-23 Eric B. Weddington <eric.weddington@atmel.com>
144 * config/tc-avr.c (mcu_types): Change opcode set for at86rf401.
146 2008-01-23 H.J. Lu <hongjiu.lu@intel.com>
148 * config/tc-i386.c (md_show_usage): Show more processors for
151 2008-01-22 H.J. Lu <hongjiu.lu@intel.com>
153 * config/tc-i386.c (i386_target_format): Remove cpummx2.
155 2008-01-22 H.J. Lu <hongjiu.lu@intel.com>
157 * config/tc-i386.c (XXX_PREFIX): Moved from tc-i386.h.
158 (XXX_MNEM_SUFFIX): Likewise.
159 (END_OF_INSN): Likewise.
160 (templates): Likewise.
161 (modrm_byte): Likewise.
162 (rex_byte): Likewise.
163 (DREX_XXX): Likewise.
164 (drex_byte): Likewise.
165 (sib_byte): Likewise.
166 (processor_type): Likewise.
167 (arch_entry): Likewise.
168 (cpu_sub_arch_name): Remove const.
169 (cpu_arch): Add .vmx and .smx.
170 (set_cpu_arch): Append cpu_sub_arch_name.
171 (md_parse_option): Support -march=CPU[,+EXTENSION...].
172 (md_show_usage): Updated.
174 * config/tc-i386.h (XXX_PREFIX): Moved to tc-i386.c.
175 (XXX_MNEM_SUFFIX): Likewise.
176 (END_OF_INSN): Likewise.
177 (templates): Likewise.
178 (modrm_byte): Likewise.
179 (rex_byte): Likewise.
180 (DREX_XXX): Likewise.
181 (drex_byte): Likewise.
182 (sib_byte): Likewise.
183 (processor_type): Likewise.
184 (arch_entry): Likewise.
186 * doc/as.texinfo: Update i386 -march option.
188 * doc/c-i386.texi: Update -march= for ISA.
190 2008-01-18 Bob Wilson <bob.wilson@acm.org>
192 * config/tc-xtensa.c (xtensa_leb128): New function.
193 (md_pseudo_table): Use it for sleb128 and uleb128.
194 (is_leb128_expr): New internal flag.
195 (xtensa_symbol_new_hook): Check new flag.
197 2008-01-16 Eric B. Weddington <eric.weddington@atmel.com>
199 * config/tc-avr.c (mcu_types): Change opcode set for avr3,
200 at90usb82, at90usb162.
201 * doc/c-avr.texi: Change architecture grouping for at90usb82,
203 These changes support the new avr35 architecture group in gcc.
205 2008-01-15 H.J. Lu <hongjiu.lu@intel.com>
207 * config/tc-i386.c (md_assemble): Also zap movzx and movsx
208 suffix for AT&T syntax.
210 2008-01-14 H.J. Lu <hongjiu.lu@intel.com>
212 * config/tc-i386.c (match_reg_size): New.
213 (match_mem_size): Likewise.
214 (operand_size_match): Likewise.
215 (operand_type_match): Also clear all size fields.
216 (match_template): Skip Intel syntax when in AT&T syntax.
217 Call operand_size_match to check operand size.
218 (i386_att_operand): Set the mem field to 1 for memory
220 (i386_intel_operand): Likewise.
222 2008-01-12 H.J. Lu <hongjiu.lu@intel.com>
225 * config/tc-i386.c (_i386_insn): Update comment.
226 (operand_type_match): Also clear unspecified.
227 (operand_type_register_match): Likewise.
228 (parse_operands): Initialize unspecified.
229 (i386_intel_operand): Likewise.
230 (match_template): Check memory and accumulator operand size.
231 (i386_att_operand): Clear unspecified on register operand.
232 (intel_e11): Likewise.
233 (intel_e09): Set operand size and clean unspecified for
236 2008-01-11 Andreas Schwab <schwab@suse.de>
238 * read.c (s_space): Declare `repeat' as offsetT.
240 2008-01-10 H.J. Lu <hongjiu.lu@intel.com>
242 * config/tc-i386.c (match_template): Check processor support
245 2008-01-10 H.J. Lu <hongjiu.lu@intel.com>
247 * config/tc-i386.c (match_template): Continue if processor
250 2008-01-09 Alexandre Oliva <aoliva@redhat.com>
252 * config/tc-ia64.c (ia64_convert_frag): Zero-initialize room for
253 unwind personality function address.
255 2008-01-09 Bob Wilson <bob.wilson@acm.org>
257 * dwarf2dbg.c (out_sleb128): Delete.
258 (size_fixed_inc_line_addr, emit_fixed_inc_line_addr): New.
259 (out_fixed_inc_line_addr): Delete.
260 (relax_inc_line_addr, dwarf2dbg_estimate_size_before_relax): Call new
261 size_fixed_inc_line_addr if DWARF2_USE_FIXED_ADVANCE_PC is set.
262 (dwarf2dbg_convert_frag): Likewise for emit_fixed_inc_line_addr.
263 (process_entries): Remove calls to out_fixed_inc_line_addr. When
264 DWARF2_USE_FIXED_ADVANCE_PC is set, call relax_inc_line_addr.
265 * read.h (emit_expr_fix): New prototype.
266 * read.c (emit_expr): Move code to emit_expr_fix and use it here.
267 (emit_expr_fix): New.
269 2008-01-09 H.J. Lu <hongjiu.lu@intel.com>
271 * config/tc-i386.c (match_template): Check register size
272 only when size of operands can be encoded the canonical way.
274 2008-01-08 H.J. Lu <hongjiu.lu@intel.com>
276 * config/tc-i386.c (i386_operand): Renamed to ...
277 (i386_att_operand): This.
278 (parse_operands): Updated.
280 2008-01-05 H.J. Lu <hongjiu.lu@intel.com>
282 * doc/c-i386.texi: Update .att_mnemonic and .intel_mnemonic.
284 * config/tc-i386.c (set_intel_mnemonic): Set intel_mnemonic
286 (md_assemble): Remove Intel mode workaround.
287 (match_template): Check support for old gcc, AT&T mnemonic
289 (md_parse_option): Don't set intel_mnemonic to 0 for
292 2008-01-04 H.J. Lu <hongjiu.lu@intel.com>
294 * config/tc-i386.h: Update copyright to 2008.
296 2008-01-04 Nick Clifton <nickc@redhat.com>
298 * config/tc-ppc.c (parse_cpu): Preserve the settings of the
299 PPC_OPCODE_ALTIVEC and PPC_OPCODE_SPE flags.
301 2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
303 * config/tc-i386.c (md_assemble): Use !intel_mnemonic instead
306 2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
308 * gas/config/tc-i386.c (cpu_arch_flags_not): Removed.
309 (cpu_flags_not): Likewise.
310 (cpu_flags_match): Updated to check 64bit and arch.
311 (set_code_flag): Remove cpu_arch_flags_not.
312 (set_16bit_gcc_code_flag): Likewise.
313 (set_cpu_arch): Likewise.
314 (md_begin): Likewise.
315 (parse_insn): Call cpu_flags_match to check 64bit and arch.
316 (match_template): Likewise.
318 2008-01-03 Jakub Jelinek <jakub@redhat.com>
320 * config/tc-i386.c (process_drex): Initialize modrm_reg and
321 modrm_regmem to 0 instead of None.
323 2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
325 * config/tc-i386.c (match_template): Use the xmmword field
328 2008-01-02 H.J. Lu <hongjiu.lu@intel.com>
330 * config/tc-i386.c (process_suffix): Fix a typo.
332 2008-01-02 H.J. Lu <hongjiu.lu@intel.com>
335 * config/tc-i386.c (match_template): Handle XMMWORD_MNEM_SUFFIX.
336 Check memory size in Intel mode.
337 (process_suffix): Handle XMMWORD_MNEM_SUFFIX.
338 (intel_e09): Likewise.
340 * config/tc-i386.h (XMMWORD_MNEM_SUFFIX): New.
342 2008-01-02 Catherine Moore <clm@codesourcery.com>
344 * config/tc-mips.c (mips_ip): Check operands on jalr instruction.
346 For older changes see ChangeLog-2007
352 version-control: never