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