1 2008-03-09 Paul Brook <paul@codesourcery.com>
3 * config/tc-arm.c (arm_cpu_option_table): Add cortex-a9.
4 * doc/c-arm.texi: Add cortex-a9.
6 2008-03-09 Paul Brook <paul@codesourcery.com>
8 * config/tc-arm.c (fpu_vfp_ext_d32): New vairable.
9 (parse_vfp_reg_list, encode_arm_vfp_reg): Use it.
10 (arm_option_cpu_value): Add vfpv3-d16, vfpv2 and vfpv3.
11 (aeabi_set_public_attributes): Handle Tag_VFP_arch=VFPV3-D16.
12 * doc/c-arm.texi: Document new ARM FPU variants.
14 2008-03-07 Paul Brook <paul@codesourcery.com>
16 * config/tc-arm.c (md_apply_fix): Use correct offset range.
18 2008-03-07 Alan Modra <amodra@bigpond.net.au>
20 * config/tc-ppc.c (ppc_setup_opcodes): Tidy. Add code to test
21 for strict ordering of powerpc_opcodes, but disable for now.
23 2008-03-04 Paul Brook <paul@codesourcery.com>
25 * config/tc-arm.c (arm_ext_barrier, arm_ext_msr): New.
26 (arm_ext_v7m): Rename...
27 (arm_ext_m): ... to this. Include v6-M.
28 (do_t_add_sub): Allow narrow low-reg non flag setting adds.
29 (do_t_mrs, do_t_msr, aeabi_set_public_attributes): Use arm_ext_m.
30 (md_assemble): Allow wide msr instructions.
31 (insns): Add classifications for v6-m instructions.
32 (arm_cpu_option_table): Add cortex-m1.
33 (arm_arch_option_table): Add armv6-m.
34 (cpu_arch): Add ARM_ARCH_V6M. Fix numbering of other v6 variants.
36 2008-03-03 Sterling Augustine <sterling@tensilica.com>
37 Bob Wilson <bob.wilson@acm.org>
39 * config/tc-xtensa.c (xtensa_num_pipe_stages): New.
40 (md_begin): Initialize it.
41 (resources_conflict): Use it.
43 2008-03-03 Sterling Augustine <sterling@tensilica.com>
45 * config/tc-xtensa.h (RELAX_XTENSA_NONE): New.
47 2008-03-03 Denys Vlasenko <vda.linux@googlemail.com>
48 H.J. Lu <hongjiu.lu@intel.com>
51 * read.c (pseudo_set): Don't allow global register symbol.
53 * symbols.c (S_SET_EXTERNAL): Don't allow register symbol
56 2008-03-03 H.J. Lu <hongjiu.lu@intel.com>
59 * write.c (write_object_file): Don't allow symbols which were
60 equated to register. Stop if there is an error.
62 2008-03-01 Alan Modra <amodra@bigpond.net.au>
64 * config/tc-ppc.h (struct _ppc_fix_extra): New.
66 (TC_FIX_TYPE, TC_INIT_FIX_DATA): Define.
67 * config/tc-ppc.c (ppu_cpu): Make global.
68 (ppc_insert_operand): Add ppu_cpu parameter.
69 (md_assemble): Adjust for above change.
70 (md_apply_fix): Pass tc_fix_data.ppc_cpu to ppc_insert_operand.
72 2008-02-22 Nick Clifton <nickc@redhat.com>
74 * config/tc-arm.c (do_bx): Only test EF_ARM_EABI_VERSION on ELF
75 targeted ARM ports, otherwise just skip generating the reloc.
77 2008-02-18 H.J. Lu <hongjiu.lu@intel.com>
79 * doc/c-i386.texi: Update -march= and .arch.
81 2008-02-18 Nick Clifton <nickc@redhat.com>
83 * config/tc-mn10300.c (has_known_symbol_location): New function.
84 Do not regard weak symbols as having a known location.
85 (md_estimate_size_before_relax): Use new function.
86 (md_pcrel_from): Do not compute a pcrel against a weak symbol.
88 2008-02-18 Jan Beulich <jbeulich@novell.com>
90 * config/tc-i386.c (match_template): Disallow 'l' suffix when
91 currently selected CPU has no 32-bit support.
92 (parse_real_register): Do not return registers not available on
93 currently selected CPU.
95 2008-02-16 H.J. Lu <hongjiu.lu@intel.com>
97 * config/tc-i386.c (process_immext): Fix format.
99 2008-02-16 H.J. Lu <hongjiu.lu@intel.com>
101 * config/tc-i386.c (inoutportreg): New.
102 (process_immext): New.
103 (md_assemble): Use it.
104 (update_imm): Use imm16 and imm32s.
105 (i386_att_operand): Use inoutportreg.
107 2008-02-14 H.J. Lu <hongjiu.lu@intel.com>
109 * config/tc-i386.c (operand_type_all_zero): New.
110 (operand_type_set): Likewise.
111 (operand_type_equal): Likewise.
112 (cpu_flags_all_zero): Likewise.
113 (cpu_flags_set): Likewise.
114 (cpu_flags_equal): Likewise.
115 (UINTS_ALL_ZERO): Removed.
116 (UINTS_SET): Likewise.
117 (UINTS_CLEAR): Likewise.
118 (UINTS_EQUAL): Likewise.
119 (cpu_flags_match): Updated.
120 (smallest_imm_type): Likewise.
121 (set_cpu_arch): Likewise.
122 (md_assemble): Likewise.
123 (optimize_imm): Likewise.
124 (match_template): Likewise.
125 (process_suffix): Likewise.
126 (update_imm): Likewise.
127 (process_drex): Likewise.
128 (process_operands): Likewise.
129 (build_modrm_byte): Likewise.
130 (i386_immediate): Likewise.
131 (i386_displacement): Likewise.
132 (i386_att_operand): Likewise.
133 (parse_real_register): Likewise.
134 (md_parse_option): Likewise.
135 (i386_target_format): Likewise.
137 2008-02-14 Dimitry Andric <dimitry@andric.com>
140 * config/tc-arm.c (s_arm_unwind_save): Advance the input line
141 pointer past the comma after parsing a floating point register
144 2008-02-14 Hakan Ardo <hakan@debian.org>
147 * config/tc-avr.c (mcu_types): Change the ISA tyoe of the attiny26
149 (avr_operand): Disallow post-increment addressing in the lpm
150 instruction for the attiny26.
152 2008-02-13 Jan Beulich <jbeulich@novell.com>
154 * config/tc-i386.c (parse_real_register): Don't return 'FLAT'
155 if not in Intel mode.
156 (i386_intel_operand): Ignore segment overrides in immediate and
158 (intel_e11): Range-check i.mem_operands before use as array
159 index. Filter out FLAT for uses other than as segment override.
160 (intel_get_token): Remove broken promotion of "FLAT:" to mean
163 2008-02-13 Jan Beulich <jbeulich@novell.com>
165 * config/tc-i386.c (intel_e09): Also special-case 'bound'.
167 2008-02-13 Jan Beulich <jbeulich@novell.com>
169 * config/tc-i386.c (allow_pseudo_reg): New.
170 (parse_real_register): Check for NULL just once. Allow all
171 register table entries when allow_pseudo_reg is non-zero.
172 Don't allow any registers without type when allow_pseudo_reg
174 (tc_x86_regname_to_dw2regnum): Replace with ...
175 (tc_x86_parse_to_dw2regnum): ... this.
176 (tc_x86_frame_initial_instructions): Adjust for above change.
177 * config/tc-i386.h (tc_regname_to_dw2regnum): Remove.
178 (tc_parse_to_dw2regnum): New.
179 (tc_x86_regname_to_dw2regnum): Replace with ...
180 (tc_x86_parse_to_dw2regnum): ... this.
181 * dw2gencfi.c (tc_parse_to_dw2regnum): New, broken out of ...
182 (cfi_parse_reg): ... this. Use tc_parse_to_dw2regnum. Adjust
185 2008-02-12 Nick Clifton <nickc@redhat.com>
187 * config/tc-tic4x.c (tic4x_insn_insert): Add const qualifier to
189 (tic4x_insn_add): Likewise.
190 (md_begin): Drop cast that was discarding a const qualifier.
191 * config/tc-d30v.c (get_reloc): Add const qualifier to op
193 (build_insn): Drop cast that was discarding a const qualifier.
195 2008-02-11 H.J. Lu <hongjiu.lu@intel.com>
197 * config/tc-i386.c (cpu_arch): Add .xsave.
198 (md_show_usage): Add .xsave.
200 * doc/c-i386.texi: Add xsave to -march=.
202 2008-02-07 Alan Modra <amodra@bigpond.net.au>
204 * read.c (s_weakref): Don't pass unadorned NULL to concat.
205 * config/tc-i386.c (set_cpu_arch, md_parse_option): Likewise.
207 2008-02-05 Sterling Augustine <sterling@tensilica.com>
209 * config/tc-xtensa.c (relax_frag_immed): Change internal consistency
210 checks into assertions. When relaxation produces an operation that
211 does not fit in the current FLIX instruction, make sure that the
212 operation is relaxed as needed to account for being placed following
213 the current instruction.
215 2008-02-04 H.J. Lu <hongjiu.lu@intel.com>
218 * configure: Regenerated.
220 2008-02-04 Adam Nemet <anemet@caviumnetworks.com>
222 * config/tc-mips.c (mips_cpu_info_table): Add Octeon.
224 2008-01-31 Marc Gauthier <marc@tensilica.com>
226 * configure.tgt (xtensa*-*-*): Recognize processor variants.
228 2008-01-25 Kai Tietz <kai.tietz@onevision.com>
230 * read.c: (emit_expr): Correct for mingw use of printf size
233 2008-01-24 Bob Wilson <bob.wilson@acm.org>
235 * doc/c-xtensa.texi (Xtensa Syntax): Clarify handling of opcodes that
236 can only be encoded in FLIX instructions but are not specified as such.
237 (Xtensa Automatic Alignment): Remove obsolete comment about debugging
240 2008-01-24 H.J. Lu <hongjiu.lu@intel.com>
242 * NEWS: Mention new command line options for x86 targets.
244 2008-01-23 H.J. Lu <hongjiu.lu@intel.com>
246 * config/tc-i386.c (md_show_usage): Replace tabs with spaces.
248 2008-01-23 Eric B. Weddington <eric.weddington@atmel.com>
250 * config/tc-avr.c (mcu_types): Change opcode set for at86rf401.
252 2008-01-23 H.J. Lu <hongjiu.lu@intel.com>
254 * config/tc-i386.c (md_show_usage): Show more processors for
257 2008-01-22 H.J. Lu <hongjiu.lu@intel.com>
259 * config/tc-i386.c (i386_target_format): Remove cpummx2.
261 2008-01-22 H.J. Lu <hongjiu.lu@intel.com>
263 * config/tc-i386.c (XXX_PREFIX): Moved from tc-i386.h.
264 (XXX_MNEM_SUFFIX): Likewise.
265 (END_OF_INSN): Likewise.
266 (templates): Likewise.
267 (modrm_byte): Likewise.
268 (rex_byte): Likewise.
269 (DREX_XXX): Likewise.
270 (drex_byte): Likewise.
271 (sib_byte): Likewise.
272 (processor_type): Likewise.
273 (arch_entry): Likewise.
274 (cpu_sub_arch_name): Remove const.
275 (cpu_arch): Add .vmx and .smx.
276 (set_cpu_arch): Append cpu_sub_arch_name.
277 (md_parse_option): Support -march=CPU[,+EXTENSION...].
278 (md_show_usage): Updated.
280 * config/tc-i386.h (XXX_PREFIX): Moved to tc-i386.c.
281 (XXX_MNEM_SUFFIX): Likewise.
282 (END_OF_INSN): Likewise.
283 (templates): Likewise.
284 (modrm_byte): Likewise.
285 (rex_byte): Likewise.
286 (DREX_XXX): Likewise.
287 (drex_byte): Likewise.
288 (sib_byte): Likewise.
289 (processor_type): Likewise.
290 (arch_entry): Likewise.
292 * doc/as.texinfo: Update i386 -march option.
294 * doc/c-i386.texi: Update -march= for ISA.
296 2008-01-18 Bob Wilson <bob.wilson@acm.org>
298 * config/tc-xtensa.c (xtensa_leb128): New function.
299 (md_pseudo_table): Use it for sleb128 and uleb128.
300 (is_leb128_expr): New internal flag.
301 (xtensa_symbol_new_hook): Check new flag.
303 2008-01-16 Eric B. Weddington <eric.weddington@atmel.com>
305 * config/tc-avr.c (mcu_types): Change opcode set for avr3,
306 at90usb82, at90usb162.
307 * doc/c-avr.texi: Change architecture grouping for at90usb82,
309 These changes support the new avr35 architecture group in gcc.
311 2008-01-15 H.J. Lu <hongjiu.lu@intel.com>
313 * config/tc-i386.c (md_assemble): Also zap movzx and movsx
314 suffix for AT&T syntax.
316 2008-01-14 H.J. Lu <hongjiu.lu@intel.com>
318 * config/tc-i386.c (match_reg_size): New.
319 (match_mem_size): Likewise.
320 (operand_size_match): Likewise.
321 (operand_type_match): Also clear all size fields.
322 (match_template): Skip Intel syntax when in AT&T syntax.
323 Call operand_size_match to check operand size.
324 (i386_att_operand): Set the mem field to 1 for memory
326 (i386_intel_operand): Likewise.
328 2008-01-12 H.J. Lu <hongjiu.lu@intel.com>
331 * config/tc-i386.c (_i386_insn): Update comment.
332 (operand_type_match): Also clear unspecified.
333 (operand_type_register_match): Likewise.
334 (parse_operands): Initialize unspecified.
335 (i386_intel_operand): Likewise.
336 (match_template): Check memory and accumulator operand size.
337 (i386_att_operand): Clear unspecified on register operand.
338 (intel_e11): Likewise.
339 (intel_e09): Set operand size and clean unspecified for
342 2008-01-11 Andreas Schwab <schwab@suse.de>
344 * read.c (s_space): Declare `repeat' as offsetT.
346 2008-01-10 H.J. Lu <hongjiu.lu@intel.com>
348 * config/tc-i386.c (match_template): Check processor support
351 2008-01-10 H.J. Lu <hongjiu.lu@intel.com>
353 * config/tc-i386.c (match_template): Continue if processor
356 2008-01-09 Alexandre Oliva <aoliva@redhat.com>
358 * config/tc-ia64.c (ia64_convert_frag): Zero-initialize room for
359 unwind personality function address.
361 2008-01-09 Bob Wilson <bob.wilson@acm.org>
363 * dwarf2dbg.c (out_sleb128): Delete.
364 (size_fixed_inc_line_addr, emit_fixed_inc_line_addr): New.
365 (out_fixed_inc_line_addr): Delete.
366 (relax_inc_line_addr, dwarf2dbg_estimate_size_before_relax): Call new
367 size_fixed_inc_line_addr if DWARF2_USE_FIXED_ADVANCE_PC is set.
368 (dwarf2dbg_convert_frag): Likewise for emit_fixed_inc_line_addr.
369 (process_entries): Remove calls to out_fixed_inc_line_addr. When
370 DWARF2_USE_FIXED_ADVANCE_PC is set, call relax_inc_line_addr.
371 * read.h (emit_expr_fix): New prototype.
372 * read.c (emit_expr): Move code to emit_expr_fix and use it here.
373 (emit_expr_fix): New.
375 2008-01-09 H.J. Lu <hongjiu.lu@intel.com>
377 * config/tc-i386.c (match_template): Check register size
378 only when size of operands can be encoded the canonical way.
380 2008-01-08 H.J. Lu <hongjiu.lu@intel.com>
382 * config/tc-i386.c (i386_operand): Renamed to ...
383 (i386_att_operand): This.
384 (parse_operands): Updated.
386 2008-01-05 H.J. Lu <hongjiu.lu@intel.com>
388 * doc/c-i386.texi: Update .att_mnemonic and .intel_mnemonic.
390 * config/tc-i386.c (set_intel_mnemonic): Set intel_mnemonic
392 (md_assemble): Remove Intel mode workaround.
393 (match_template): Check support for old gcc, AT&T mnemonic
395 (md_parse_option): Don't set intel_mnemonic to 0 for
398 2008-01-04 H.J. Lu <hongjiu.lu@intel.com>
400 * config/tc-i386.h: Update copyright to 2008.
402 2008-01-04 Nick Clifton <nickc@redhat.com>
404 * config/tc-ppc.c (parse_cpu): Preserve the settings of the
405 PPC_OPCODE_ALTIVEC and PPC_OPCODE_SPE flags.
407 2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
409 * config/tc-i386.c (md_assemble): Use !intel_mnemonic instead
412 2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
414 * gas/config/tc-i386.c (cpu_arch_flags_not): Removed.
415 (cpu_flags_not): Likewise.
416 (cpu_flags_match): Updated to check 64bit and arch.
417 (set_code_flag): Remove cpu_arch_flags_not.
418 (set_16bit_gcc_code_flag): Likewise.
419 (set_cpu_arch): Likewise.
420 (md_begin): Likewise.
421 (parse_insn): Call cpu_flags_match to check 64bit and arch.
422 (match_template): Likewise.
424 2008-01-03 Jakub Jelinek <jakub@redhat.com>
426 * config/tc-i386.c (process_drex): Initialize modrm_reg and
427 modrm_regmem to 0 instead of None.
429 2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
431 * config/tc-i386.c (match_template): Use the xmmword field
434 2008-01-02 H.J. Lu <hongjiu.lu@intel.com>
436 * config/tc-i386.c (process_suffix): Fix a typo.
438 2008-01-02 H.J. Lu <hongjiu.lu@intel.com>
441 * config/tc-i386.c (match_template): Handle XMMWORD_MNEM_SUFFIX.
442 Check memory size in Intel mode.
443 (process_suffix): Handle XMMWORD_MNEM_SUFFIX.
444 (intel_e09): Likewise.
446 * config/tc-i386.h (XMMWORD_MNEM_SUFFIX): New.
448 2008-01-02 Catherine Moore <clm@codesourcery.com>
450 * config/tc-mips.c (mips_ip): Check operands on jalr instruction.
452 For older changes see ChangeLog-2007
458 version-control: never