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