1 2008-02-13 Jan Beulich <jbeulich@novell.com>
3 * config/tc-i386.c (allow_pseudo_reg): New.
4 (parse_real_register): Check for NULL just once. Allow all
5 register table entries when allow_pseudo_reg is non-zero.
6 Don't allow any registers without type when allow_pseudo_reg
8 (tc_x86_regname_to_dw2regnum): Replace with ...
9 (tc_x86_parse_to_dw2regnum): ... this.
10 (tc_x86_frame_initial_instructions): Adjust for above change.
11 * config/tc-i386.h (tc_regname_to_dw2regnum): Remove.
12 (tc_parse_to_dw2regnum): New.
13 (tc_x86_regname_to_dw2regnum): Replace with ...
14 (tc_x86_parse_to_dw2regnum): ... this.
15 * dw2gencfi.c (tc_parse_to_dw2regnum): New, broken out of ...
16 (cfi_parse_reg): ... this. Use tc_parse_to_dw2regnum. Adjust
19 2008-02-12 Nick Clifton <nickc@redhat.com>
21 * config/tc-tic4x.c (tic4x_insn_insert): Add const qualifier to
23 (tic4x_insn_add): Likewise.
24 (md_begin): Drop cast that was discarding a const qualifier.
25 * config/tc-d30v.c (get_reloc): Add const qualifier to op
27 (build_insn): Drop cast that was discarding a const qualifier.
29 2008-02-11 H.J. Lu <hongjiu.lu@intel.com>
31 * config/tc-i386.c (cpu_arch): Add .xsave.
32 (md_show_usage): Add .xsave.
34 * doc/c-i386.texi: Add xsave to -march=.
36 2008-02-07 Alan Modra <amodra@bigpond.net.au>
38 * read.c (s_weakref): Don't pass unadorned NULL to concat.
39 * config/tc-i386.c (set_cpu_arch, md_parse_option): Likewise.
41 2008-02-05 Sterling Augustine <sterling@tensilica.com>
43 * config/tc-xtensa.c (relax_frag_immed): Change internal consistency
44 checks into assertions. When relaxation produces an operation that
45 does not fit in the current FLIX instruction, make sure that the
46 operation is relaxed as needed to account for being placed following
47 the current instruction.
49 2008-02-04 H.J. Lu <hongjiu.lu@intel.com>
52 * configure: Regenerated.
54 2008-02-04 Adam Nemet <anemet@caviumnetworks.com>
56 * config/tc-mips.c (mips_cpu_info_table): Add Octeon.
58 2008-01-31 Marc Gauthier <marc@tensilica.com>
60 * configure.tgt (xtensa*-*-*): Recognize processor variants.
62 2008-01-25 Kai Tietz <kai.tietz@onevision.com>
64 * read.c: (emit_expr): Correct for mingw use of printf size
67 2008-01-24 Bob Wilson <bob.wilson@acm.org>
69 * doc/c-xtensa.texi (Xtensa Syntax): Clarify handling of opcodes that
70 can only be encoded in FLIX instructions but are not specified as such.
71 (Xtensa Automatic Alignment): Remove obsolete comment about debugging
74 2008-01-24 H.J. Lu <hongjiu.lu@intel.com>
76 * NEWS: Mention new command line options for x86 targets.
78 2008-01-23 H.J. Lu <hongjiu.lu@intel.com>
80 * config/tc-i386.c (md_show_usage): Replace tabs with spaces.
82 2008-01-23 Eric B. Weddington <eric.weddington@atmel.com>
84 * config/tc-avr.c (mcu_types): Change opcode set for at86rf401.
86 2008-01-23 H.J. Lu <hongjiu.lu@intel.com>
88 * config/tc-i386.c (md_show_usage): Show more processors for
91 2008-01-22 H.J. Lu <hongjiu.lu@intel.com>
93 * config/tc-i386.c (i386_target_format): Remove cpummx2.
95 2008-01-22 H.J. Lu <hongjiu.lu@intel.com>
97 * config/tc-i386.c (XXX_PREFIX): Moved from tc-i386.h.
98 (XXX_MNEM_SUFFIX): Likewise.
99 (END_OF_INSN): Likewise.
100 (templates): Likewise.
101 (modrm_byte): Likewise.
102 (rex_byte): Likewise.
103 (DREX_XXX): Likewise.
104 (drex_byte): Likewise.
105 (sib_byte): Likewise.
106 (processor_type): Likewise.
107 (arch_entry): Likewise.
108 (cpu_sub_arch_name): Remove const.
109 (cpu_arch): Add .vmx and .smx.
110 (set_cpu_arch): Append cpu_sub_arch_name.
111 (md_parse_option): Support -march=CPU[,+EXTENSION...].
112 (md_show_usage): Updated.
114 * config/tc-i386.h (XXX_PREFIX): Moved to tc-i386.c.
115 (XXX_MNEM_SUFFIX): Likewise.
116 (END_OF_INSN): Likewise.
117 (templates): Likewise.
118 (modrm_byte): Likewise.
119 (rex_byte): Likewise.
120 (DREX_XXX): Likewise.
121 (drex_byte): Likewise.
122 (sib_byte): Likewise.
123 (processor_type): Likewise.
124 (arch_entry): Likewise.
126 * doc/as.texinfo: Update i386 -march option.
128 * doc/c-i386.texi: Update -march= for ISA.
130 2008-01-18 Bob Wilson <bob.wilson@acm.org>
132 * config/tc-xtensa.c (xtensa_leb128): New function.
133 (md_pseudo_table): Use it for sleb128 and uleb128.
134 (is_leb128_expr): New internal flag.
135 (xtensa_symbol_new_hook): Check new flag.
137 2008-01-16 Eric B. Weddington <eric.weddington@atmel.com>
139 * config/tc-avr.c (mcu_types): Change opcode set for avr3,
140 at90usb82, at90usb162.
141 * doc/c-avr.texi: Change architecture grouping for at90usb82,
143 These changes support the new avr35 architecture group in gcc.
145 2008-01-15 H.J. Lu <hongjiu.lu@intel.com>
147 * config/tc-i386.c (md_assemble): Also zap movzx and movsx
148 suffix for AT&T syntax.
150 2008-01-14 H.J. Lu <hongjiu.lu@intel.com>
152 * config/tc-i386.c (match_reg_size): New.
153 (match_mem_size): Likewise.
154 (operand_size_match): Likewise.
155 (operand_type_match): Also clear all size fields.
156 (match_template): Skip Intel syntax when in AT&T syntax.
157 Call operand_size_match to check operand size.
158 (i386_att_operand): Set the mem field to 1 for memory
160 (i386_intel_operand): Likewise.
162 2008-01-12 H.J. Lu <hongjiu.lu@intel.com>
165 * config/tc-i386.c (_i386_insn): Update comment.
166 (operand_type_match): Also clear unspecified.
167 (operand_type_register_match): Likewise.
168 (parse_operands): Initialize unspecified.
169 (i386_intel_operand): Likewise.
170 (match_template): Check memory and accumulator operand size.
171 (i386_att_operand): Clear unspecified on register operand.
172 (intel_e11): Likewise.
173 (intel_e09): Set operand size and clean unspecified for
176 2008-01-11 Andreas Schwab <schwab@suse.de>
178 * read.c (s_space): Declare `repeat' as offsetT.
180 2008-01-10 H.J. Lu <hongjiu.lu@intel.com>
182 * config/tc-i386.c (match_template): Check processor support
185 2008-01-10 H.J. Lu <hongjiu.lu@intel.com>
187 * config/tc-i386.c (match_template): Continue if processor
190 2008-01-09 Alexandre Oliva <aoliva@redhat.com>
192 * config/tc-ia64.c (ia64_convert_frag): Zero-initialize room for
193 unwind personality function address.
195 2008-01-09 Bob Wilson <bob.wilson@acm.org>
197 * dwarf2dbg.c (out_sleb128): Delete.
198 (size_fixed_inc_line_addr, emit_fixed_inc_line_addr): New.
199 (out_fixed_inc_line_addr): Delete.
200 (relax_inc_line_addr, dwarf2dbg_estimate_size_before_relax): Call new
201 size_fixed_inc_line_addr if DWARF2_USE_FIXED_ADVANCE_PC is set.
202 (dwarf2dbg_convert_frag): Likewise for emit_fixed_inc_line_addr.
203 (process_entries): Remove calls to out_fixed_inc_line_addr. When
204 DWARF2_USE_FIXED_ADVANCE_PC is set, call relax_inc_line_addr.
205 * read.h (emit_expr_fix): New prototype.
206 * read.c (emit_expr): Move code to emit_expr_fix and use it here.
207 (emit_expr_fix): New.
209 2008-01-09 H.J. Lu <hongjiu.lu@intel.com>
211 * config/tc-i386.c (match_template): Check register size
212 only when size of operands can be encoded the canonical way.
214 2008-01-08 H.J. Lu <hongjiu.lu@intel.com>
216 * config/tc-i386.c (i386_operand): Renamed to ...
217 (i386_att_operand): This.
218 (parse_operands): Updated.
220 2008-01-05 H.J. Lu <hongjiu.lu@intel.com>
222 * doc/c-i386.texi: Update .att_mnemonic and .intel_mnemonic.
224 * config/tc-i386.c (set_intel_mnemonic): Set intel_mnemonic
226 (md_assemble): Remove Intel mode workaround.
227 (match_template): Check support for old gcc, AT&T mnemonic
229 (md_parse_option): Don't set intel_mnemonic to 0 for
232 2008-01-04 H.J. Lu <hongjiu.lu@intel.com>
234 * config/tc-i386.h: Update copyright to 2008.
236 2008-01-04 Nick Clifton <nickc@redhat.com>
238 * config/tc-ppc.c (parse_cpu): Preserve the settings of the
239 PPC_OPCODE_ALTIVEC and PPC_OPCODE_SPE flags.
241 2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
243 * config/tc-i386.c (md_assemble): Use !intel_mnemonic instead
246 2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
248 * gas/config/tc-i386.c (cpu_arch_flags_not): Removed.
249 (cpu_flags_not): Likewise.
250 (cpu_flags_match): Updated to check 64bit and arch.
251 (set_code_flag): Remove cpu_arch_flags_not.
252 (set_16bit_gcc_code_flag): Likewise.
253 (set_cpu_arch): Likewise.
254 (md_begin): Likewise.
255 (parse_insn): Call cpu_flags_match to check 64bit and arch.
256 (match_template): Likewise.
258 2008-01-03 Jakub Jelinek <jakub@redhat.com>
260 * config/tc-i386.c (process_drex): Initialize modrm_reg and
261 modrm_regmem to 0 instead of None.
263 2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
265 * config/tc-i386.c (match_template): Use the xmmword field
268 2008-01-02 H.J. Lu <hongjiu.lu@intel.com>
270 * config/tc-i386.c (process_suffix): Fix a typo.
272 2008-01-02 H.J. Lu <hongjiu.lu@intel.com>
275 * config/tc-i386.c (match_template): Handle XMMWORD_MNEM_SUFFIX.
276 Check memory size in Intel mode.
277 (process_suffix): Handle XMMWORD_MNEM_SUFFIX.
278 (intel_e09): Likewise.
280 * config/tc-i386.h (XMMWORD_MNEM_SUFFIX): New.
282 2008-01-02 Catherine Moore <clm@codesourcery.com>
284 * config/tc-mips.c (mips_ip): Check operands on jalr instruction.
286 For older changes see ChangeLog-2007
292 version-control: never