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