1 2008-03-28 Eric B. Weddington <eric.weddington@atmel.com>
3 * config/tc-avr.c (mcu_types): Add atmega32c1.
4 * doc/c-avr.texi: Likewise.
6 2008-03-28 Paul Brook <paul@codesourcery.com>
8 * config/tc-arm.c (parse_neon_mov): Parse register before immediate
9 to avoid spurious symbols.
11 2008-03-28 Nathan Sidwell <nathan@codesourcery.com>
13 * config/tc-m68k.c (md_convert_frag_1): Replace as_fatal with
16 2008-03-27 Eric B. Weddington <eric.weddington@atmel.com>
18 * config/tc-avr.c (mcu_types): Add atmega32m1.
19 * doc/c-avr.texi: Likewise.
21 2008-03-27 Ineiev <ineiev@yahoo.co.uk>
23 * config/tc-arm.c (do_neon_cvt): Move variable declarations to
25 (do_neon_ext): Fix sign of comparison.
27 2008-03-26 Bernd Schmidt <bernd.schmidt@analog.com>
29 From Jie Zhang <jie.zhang@analog.com>
30 * config/bfin-parse.y (asm_1): Check AREGS in comparison
31 instructions. And call yyerror when comparing PREG with
33 (check_macfunc_option): New.
34 (check_macfuncs): Check option by calling check_macfunc_option.
35 Fix comparison always true warnings. Both scalar instructions
36 of vector instruction must share the same mode option. Only allow
37 option mode at the end of the second instruction of the vector.
38 (asm_1): Check option by calling check_macfunc_option.
40 * config/bfin-parse.y (check_macfunc_option): Allow (IU)
41 option for multiply and multiply-accumulate to data register
43 (check_macfuncs): Don't check if accumulator matches the data register
45 (assign_macfunc): Check if accumulator matches the
46 data register in each rule that moves to the data
49 * config/tc-bfin.c (bfin_start_line_hook): Localize the labels
50 generated for LOOP_BEGIN and LOOP_END instructions.
51 (bfin_gen_loop): Likewise.
53 2008-03-19 Andreas Krebbel <krebbel1@de.ibm.com>
55 * config/tc-s390.c (md_parse_option): z10 option added.
57 2008-03-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
59 * aclocal.m4: Regenerate.
60 * configure: Likewise.
61 * Makefile.in: Likewise.
62 * doc/Makefile.in: Likewise.
64 2008-03-17 Adrian Bunk <bunk@stusta.de>
67 * config/tc-hppa.c (is_same_frag): Delete.
69 2008-03-14 Sterling Augustine <sterling@tensilica.com>
71 * config/tc-xtensa.h (xtensa_relax_statesE): Update comment for
72 RELAX_LOOP_END_ADD_NOP.
74 2008-03-13 Evandro Menezes <evandro@yahoo.com>
77 * read.c (s_mexit): Warn if attempting to exit a macro when not
78 inside a macro definition.
80 2008-03-13 Alan Modra <amodra@bigpond.net.au>
82 * Makefile.am: Run "make dep-am".
83 * Makefile.in: Regenerate.
84 * configure: Regenerate.
86 2008-03-09 Paul Brook <paul@codesourcery.com>
88 * config/tc-arm.c (arm_cpu_option_table): Add cortex-a9.
89 * doc/c-arm.texi: Add cortex-a9.
91 2008-03-09 Paul Brook <paul@codesourcery.com>
93 * config/tc-arm.c (fpu_vfp_ext_d32): New vairable.
94 (parse_vfp_reg_list, encode_arm_vfp_reg): Use it.
95 (arm_option_cpu_value): Add vfpv3-d16, vfpv2 and vfpv3.
96 (aeabi_set_public_attributes): Handle Tag_VFP_arch=VFPV3-D16.
97 * doc/c-arm.texi: Document new ARM FPU variants.
99 2008-03-07 Paul Brook <paul@codesourcery.com>
101 * config/tc-arm.c (md_apply_fix): Use correct offset range.
103 2008-03-07 Alan Modra <amodra@bigpond.net.au>
105 * config/tc-ppc.c (ppc_setup_opcodes): Tidy. Add code to test
106 for strict ordering of powerpc_opcodes, but disable for now.
108 2008-03-04 Paul Brook <paul@codesourcery.com>
110 * config/tc-arm.c (arm_ext_barrier, arm_ext_msr): New.
111 (arm_ext_v7m): Rename...
112 (arm_ext_m): ... to this. Include v6-M.
113 (do_t_add_sub): Allow narrow low-reg non flag setting adds.
114 (do_t_mrs, do_t_msr, aeabi_set_public_attributes): Use arm_ext_m.
115 (md_assemble): Allow wide msr instructions.
116 (insns): Add classifications for v6-m instructions.
117 (arm_cpu_option_table): Add cortex-m1.
118 (arm_arch_option_table): Add armv6-m.
119 (cpu_arch): Add ARM_ARCH_V6M. Fix numbering of other v6 variants.
121 2008-03-03 Sterling Augustine <sterling@tensilica.com>
122 Bob Wilson <bob.wilson@acm.org>
124 * config/tc-xtensa.c (xtensa_num_pipe_stages): New.
125 (md_begin): Initialize it.
126 (resources_conflict): Use it.
128 2008-03-03 Sterling Augustine <sterling@tensilica.com>
130 * config/tc-xtensa.h (RELAX_XTENSA_NONE): New.
132 2008-03-03 Denys Vlasenko <vda.linux@googlemail.com>
133 H.J. Lu <hongjiu.lu@intel.com>
136 * read.c (pseudo_set): Don't allow global register symbol.
138 * symbols.c (S_SET_EXTERNAL): Don't allow register symbol
141 2008-03-03 H.J. Lu <hongjiu.lu@intel.com>
144 * write.c (write_object_file): Don't allow symbols which were
145 equated to register. Stop if there is an error.
147 2008-03-01 Alan Modra <amodra@bigpond.net.au>
149 * config/tc-ppc.h (struct _ppc_fix_extra): New.
151 (TC_FIX_TYPE, TC_INIT_FIX_DATA): Define.
152 * config/tc-ppc.c (ppu_cpu): Make global.
153 (ppc_insert_operand): Add ppu_cpu parameter.
154 (md_assemble): Adjust for above change.
155 (md_apply_fix): Pass tc_fix_data.ppc_cpu to ppc_insert_operand.
157 2008-02-22 Nick Clifton <nickc@redhat.com>
159 * config/tc-arm.c (do_bx): Only test EF_ARM_EABI_VERSION on ELF
160 targeted ARM ports, otherwise just skip generating the reloc.
162 2008-02-18 H.J. Lu <hongjiu.lu@intel.com>
164 * doc/c-i386.texi: Update -march= and .arch.
166 2008-02-18 Nick Clifton <nickc@redhat.com>
168 * config/tc-mn10300.c (has_known_symbol_location): New function.
169 Do not regard weak symbols as having a known location.
170 (md_estimate_size_before_relax): Use new function.
171 (md_pcrel_from): Do not compute a pcrel against a weak symbol.
173 2008-02-18 Jan Beulich <jbeulich@novell.com>
175 * config/tc-i386.c (match_template): Disallow 'l' suffix when
176 currently selected CPU has no 32-bit support.
177 (parse_real_register): Do not return registers not available on
178 currently selected CPU.
180 2008-02-16 H.J. Lu <hongjiu.lu@intel.com>
182 * config/tc-i386.c (process_immext): Fix format.
184 2008-02-16 H.J. Lu <hongjiu.lu@intel.com>
186 * config/tc-i386.c (inoutportreg): New.
187 (process_immext): New.
188 (md_assemble): Use it.
189 (update_imm): Use imm16 and imm32s.
190 (i386_att_operand): Use inoutportreg.
192 2008-02-14 H.J. Lu <hongjiu.lu@intel.com>
194 * config/tc-i386.c (operand_type_all_zero): New.
195 (operand_type_set): Likewise.
196 (operand_type_equal): Likewise.
197 (cpu_flags_all_zero): Likewise.
198 (cpu_flags_set): Likewise.
199 (cpu_flags_equal): Likewise.
200 (UINTS_ALL_ZERO): Removed.
201 (UINTS_SET): Likewise.
202 (UINTS_CLEAR): Likewise.
203 (UINTS_EQUAL): Likewise.
204 (cpu_flags_match): Updated.
205 (smallest_imm_type): Likewise.
206 (set_cpu_arch): Likewise.
207 (md_assemble): Likewise.
208 (optimize_imm): Likewise.
209 (match_template): Likewise.
210 (process_suffix): Likewise.
211 (update_imm): Likewise.
212 (process_drex): Likewise.
213 (process_operands): Likewise.
214 (build_modrm_byte): Likewise.
215 (i386_immediate): Likewise.
216 (i386_displacement): Likewise.
217 (i386_att_operand): Likewise.
218 (parse_real_register): Likewise.
219 (md_parse_option): Likewise.
220 (i386_target_format): Likewise.
222 2008-02-14 Dimitry Andric <dimitry@andric.com>
225 * config/tc-arm.c (s_arm_unwind_save): Advance the input line
226 pointer past the comma after parsing a floating point register
229 2008-02-14 Hakan Ardo <hakan@debian.org>
232 * config/tc-avr.c (mcu_types): Change the ISA tyoe of the attiny26
234 (avr_operand): Disallow post-increment addressing in the lpm
235 instruction for the attiny26.
237 2008-02-13 Jan Beulich <jbeulich@novell.com>
239 * config/tc-i386.c (parse_real_register): Don't return 'FLAT'
240 if not in Intel mode.
241 (i386_intel_operand): Ignore segment overrides in immediate and
243 (intel_e11): Range-check i.mem_operands before use as array
244 index. Filter out FLAT for uses other than as segment override.
245 (intel_get_token): Remove broken promotion of "FLAT:" to mean
248 2008-02-13 Jan Beulich <jbeulich@novell.com>
250 * config/tc-i386.c (intel_e09): Also special-case 'bound'.
252 2008-02-13 Jan Beulich <jbeulich@novell.com>
254 * config/tc-i386.c (allow_pseudo_reg): New.
255 (parse_real_register): Check for NULL just once. Allow all
256 register table entries when allow_pseudo_reg is non-zero.
257 Don't allow any registers without type when allow_pseudo_reg
259 (tc_x86_regname_to_dw2regnum): Replace with ...
260 (tc_x86_parse_to_dw2regnum): ... this.
261 (tc_x86_frame_initial_instructions): Adjust for above change.
262 * config/tc-i386.h (tc_regname_to_dw2regnum): Remove.
263 (tc_parse_to_dw2regnum): New.
264 (tc_x86_regname_to_dw2regnum): Replace with ...
265 (tc_x86_parse_to_dw2regnum): ... this.
266 * dw2gencfi.c (tc_parse_to_dw2regnum): New, broken out of ...
267 (cfi_parse_reg): ... this. Use tc_parse_to_dw2regnum. Adjust
270 2008-02-12 Nick Clifton <nickc@redhat.com>
272 * config/tc-tic4x.c (tic4x_insn_insert): Add const qualifier to
274 (tic4x_insn_add): Likewise.
275 (md_begin): Drop cast that was discarding a const qualifier.
276 * config/tc-d30v.c (get_reloc): Add const qualifier to op
278 (build_insn): Drop cast that was discarding a const qualifier.
280 2008-02-11 H.J. Lu <hongjiu.lu@intel.com>
282 * config/tc-i386.c (cpu_arch): Add .xsave.
283 (md_show_usage): Add .xsave.
285 * doc/c-i386.texi: Add xsave to -march=.
287 2008-02-07 Alan Modra <amodra@bigpond.net.au>
289 * read.c (s_weakref): Don't pass unadorned NULL to concat.
290 * config/tc-i386.c (set_cpu_arch, md_parse_option): Likewise.
292 2008-02-05 Sterling Augustine <sterling@tensilica.com>
294 * config/tc-xtensa.c (relax_frag_immed): Change internal consistency
295 checks into assertions. When relaxation produces an operation that
296 does not fit in the current FLIX instruction, make sure that the
297 operation is relaxed as needed to account for being placed following
298 the current instruction.
300 2008-02-04 H.J. Lu <hongjiu.lu@intel.com>
303 * configure: Regenerated.
305 2008-02-04 Adam Nemet <anemet@caviumnetworks.com>
307 * config/tc-mips.c (mips_cpu_info_table): Add Octeon.
309 2008-01-31 Marc Gauthier <marc@tensilica.com>
311 * configure.tgt (xtensa*-*-*): Recognize processor variants.
313 2008-01-25 Kai Tietz <kai.tietz@onevision.com>
315 * read.c: (emit_expr): Correct for mingw use of printf size
318 2008-01-24 Bob Wilson <bob.wilson@acm.org>
320 * doc/c-xtensa.texi (Xtensa Syntax): Clarify handling of opcodes that
321 can only be encoded in FLIX instructions but are not specified as such.
322 (Xtensa Automatic Alignment): Remove obsolete comment about debugging
325 2008-01-24 H.J. Lu <hongjiu.lu@intel.com>
327 * NEWS: Mention new command line options for x86 targets.
329 2008-01-23 H.J. Lu <hongjiu.lu@intel.com>
331 * config/tc-i386.c (md_show_usage): Replace tabs with spaces.
333 2008-01-23 Eric B. Weddington <eric.weddington@atmel.com>
335 * config/tc-avr.c (mcu_types): Change opcode set for at86rf401.
337 2008-01-23 H.J. Lu <hongjiu.lu@intel.com>
339 * config/tc-i386.c (md_show_usage): Show more processors for
342 2008-01-22 H.J. Lu <hongjiu.lu@intel.com>
344 * config/tc-i386.c (i386_target_format): Remove cpummx2.
346 2008-01-22 H.J. Lu <hongjiu.lu@intel.com>
348 * config/tc-i386.c (XXX_PREFIX): Moved from tc-i386.h.
349 (XXX_MNEM_SUFFIX): Likewise.
350 (END_OF_INSN): Likewise.
351 (templates): Likewise.
352 (modrm_byte): Likewise.
353 (rex_byte): Likewise.
354 (DREX_XXX): Likewise.
355 (drex_byte): Likewise.
356 (sib_byte): Likewise.
357 (processor_type): Likewise.
358 (arch_entry): Likewise.
359 (cpu_sub_arch_name): Remove const.
360 (cpu_arch): Add .vmx and .smx.
361 (set_cpu_arch): Append cpu_sub_arch_name.
362 (md_parse_option): Support -march=CPU[,+EXTENSION...].
363 (md_show_usage): Updated.
365 * config/tc-i386.h (XXX_PREFIX): Moved to tc-i386.c.
366 (XXX_MNEM_SUFFIX): Likewise.
367 (END_OF_INSN): Likewise.
368 (templates): Likewise.
369 (modrm_byte): Likewise.
370 (rex_byte): Likewise.
371 (DREX_XXX): Likewise.
372 (drex_byte): Likewise.
373 (sib_byte): Likewise.
374 (processor_type): Likewise.
375 (arch_entry): Likewise.
377 * doc/as.texinfo: Update i386 -march option.
379 * doc/c-i386.texi: Update -march= for ISA.
381 2008-01-18 Bob Wilson <bob.wilson@acm.org>
383 * config/tc-xtensa.c (xtensa_leb128): New function.
384 (md_pseudo_table): Use it for sleb128 and uleb128.
385 (is_leb128_expr): New internal flag.
386 (xtensa_symbol_new_hook): Check new flag.
388 2008-01-16 Eric B. Weddington <eric.weddington@atmel.com>
390 * config/tc-avr.c (mcu_types): Change opcode set for avr3,
391 at90usb82, at90usb162.
392 * doc/c-avr.texi: Change architecture grouping for at90usb82,
394 These changes support the new avr35 architecture group in gcc.
396 2008-01-15 H.J. Lu <hongjiu.lu@intel.com>
398 * config/tc-i386.c (md_assemble): Also zap movzx and movsx
399 suffix for AT&T syntax.
401 2008-01-14 H.J. Lu <hongjiu.lu@intel.com>
403 * config/tc-i386.c (match_reg_size): New.
404 (match_mem_size): Likewise.
405 (operand_size_match): Likewise.
406 (operand_type_match): Also clear all size fields.
407 (match_template): Skip Intel syntax when in AT&T syntax.
408 Call operand_size_match to check operand size.
409 (i386_att_operand): Set the mem field to 1 for memory
411 (i386_intel_operand): Likewise.
413 2008-01-12 H.J. Lu <hongjiu.lu@intel.com>
416 * config/tc-i386.c (_i386_insn): Update comment.
417 (operand_type_match): Also clear unspecified.
418 (operand_type_register_match): Likewise.
419 (parse_operands): Initialize unspecified.
420 (i386_intel_operand): Likewise.
421 (match_template): Check memory and accumulator operand size.
422 (i386_att_operand): Clear unspecified on register operand.
423 (intel_e11): Likewise.
424 (intel_e09): Set operand size and clean unspecified for
427 2008-01-11 Andreas Schwab <schwab@suse.de>
429 * read.c (s_space): Declare `repeat' as offsetT.
431 2008-01-10 H.J. Lu <hongjiu.lu@intel.com>
433 * config/tc-i386.c (match_template): Check processor support
436 2008-01-10 H.J. Lu <hongjiu.lu@intel.com>
438 * config/tc-i386.c (match_template): Continue if processor
441 2008-01-09 Alexandre Oliva <aoliva@redhat.com>
443 * config/tc-ia64.c (ia64_convert_frag): Zero-initialize room for
444 unwind personality function address.
446 2008-01-09 Bob Wilson <bob.wilson@acm.org>
448 * dwarf2dbg.c (out_sleb128): Delete.
449 (size_fixed_inc_line_addr, emit_fixed_inc_line_addr): New.
450 (out_fixed_inc_line_addr): Delete.
451 (relax_inc_line_addr, dwarf2dbg_estimate_size_before_relax): Call new
452 size_fixed_inc_line_addr if DWARF2_USE_FIXED_ADVANCE_PC is set.
453 (dwarf2dbg_convert_frag): Likewise for emit_fixed_inc_line_addr.
454 (process_entries): Remove calls to out_fixed_inc_line_addr. When
455 DWARF2_USE_FIXED_ADVANCE_PC is set, call relax_inc_line_addr.
456 * read.h (emit_expr_fix): New prototype.
457 * read.c (emit_expr): Move code to emit_expr_fix and use it here.
458 (emit_expr_fix): New.
460 2008-01-09 H.J. Lu <hongjiu.lu@intel.com>
462 * config/tc-i386.c (match_template): Check register size
463 only when size of operands can be encoded the canonical way.
465 2008-01-08 H.J. Lu <hongjiu.lu@intel.com>
467 * config/tc-i386.c (i386_operand): Renamed to ...
468 (i386_att_operand): This.
469 (parse_operands): Updated.
471 2008-01-05 H.J. Lu <hongjiu.lu@intel.com>
473 * doc/c-i386.texi: Update .att_mnemonic and .intel_mnemonic.
475 * config/tc-i386.c (set_intel_mnemonic): Set intel_mnemonic
477 (md_assemble): Remove Intel mode workaround.
478 (match_template): Check support for old gcc, AT&T mnemonic
480 (md_parse_option): Don't set intel_mnemonic to 0 for
483 2008-01-04 H.J. Lu <hongjiu.lu@intel.com>
485 * config/tc-i386.h: Update copyright to 2008.
487 2008-01-04 Nick Clifton <nickc@redhat.com>
489 * config/tc-ppc.c (parse_cpu): Preserve the settings of the
490 PPC_OPCODE_ALTIVEC and PPC_OPCODE_SPE flags.
492 2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
494 * config/tc-i386.c (md_assemble): Use !intel_mnemonic instead
497 2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
499 * gas/config/tc-i386.c (cpu_arch_flags_not): Removed.
500 (cpu_flags_not): Likewise.
501 (cpu_flags_match): Updated to check 64bit and arch.
502 (set_code_flag): Remove cpu_arch_flags_not.
503 (set_16bit_gcc_code_flag): Likewise.
504 (set_cpu_arch): Likewise.
505 (md_begin): Likewise.
506 (parse_insn): Call cpu_flags_match to check 64bit and arch.
507 (match_template): Likewise.
509 2008-01-03 Jakub Jelinek <jakub@redhat.com>
511 * config/tc-i386.c (process_drex): Initialize modrm_reg and
512 modrm_regmem to 0 instead of None.
514 2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
516 * config/tc-i386.c (match_template): Use the xmmword field
519 2008-01-02 H.J. Lu <hongjiu.lu@intel.com>
521 * config/tc-i386.c (process_suffix): Fix a typo.
523 2008-01-02 H.J. Lu <hongjiu.lu@intel.com>
526 * config/tc-i386.c (match_template): Handle XMMWORD_MNEM_SUFFIX.
527 Check memory size in Intel mode.
528 (process_suffix): Handle XMMWORD_MNEM_SUFFIX.
529 (intel_e09): Likewise.
531 * config/tc-i386.h (XMMWORD_MNEM_SUFFIX): New.
533 2008-01-02 Catherine Moore <clm@codesourcery.com>
535 * config/tc-mips.c (mips_ip): Check operands on jalr instruction.
537 For older changes see ChangeLog-2007
543 version-control: never