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