gas/
[deliverable/binutils-gdb.git] / gas / ChangeLog
1 2008-02-18 Jan Beulich <jbeulich@novell.com>
2
3 * config/tc-i386.c (match_template): Disallow 'l' suffix when
4 currently selected CPU has no 32-bit support.
5 (parse_real_register): Do not return registers not available on
6 currently selected CPU.
7
8 2008-02-16 H.J. Lu <hongjiu.lu@intel.com>
9
10 * config/tc-i386.c (process_immext): Fix format.
11
12 2008-02-16 H.J. Lu <hongjiu.lu@intel.com>
13
14 * config/tc-i386.c (inoutportreg): New.
15 (process_immext): New.
16 (md_assemble): Use it.
17 (update_imm): Use imm16 and imm32s.
18 (i386_att_operand): Use inoutportreg.
19
20 2008-02-14 H.J. Lu <hongjiu.lu@intel.com>
21
22 * config/tc-i386.c (operand_type_all_zero): New.
23 (operand_type_set): Likewise.
24 (operand_type_equal): Likewise.
25 (cpu_flags_all_zero): Likewise.
26 (cpu_flags_set): Likewise.
27 (cpu_flags_equal): Likewise.
28 (UINTS_ALL_ZERO): Removed.
29 (UINTS_SET): Likewise.
30 (UINTS_CLEAR): Likewise.
31 (UINTS_EQUAL): Likewise.
32 (cpu_flags_match): Updated.
33 (smallest_imm_type): Likewise.
34 (set_cpu_arch): Likewise.
35 (md_assemble): Likewise.
36 (optimize_imm): Likewise.
37 (match_template): Likewise.
38 (process_suffix): Likewise.
39 (update_imm): Likewise.
40 (process_drex): Likewise.
41 (process_operands): Likewise.
42 (build_modrm_byte): Likewise.
43 (i386_immediate): Likewise.
44 (i386_displacement): Likewise.
45 (i386_att_operand): Likewise.
46 (parse_real_register): Likewise.
47 (md_parse_option): Likewise.
48 (i386_target_format): Likewise.
49
50 2008-02-14 Dimitry Andric <dimitry@andric.com>
51
52 PR gas/5712
53 * config/tc-arm.c (s_arm_unwind_save): Advance the input line
54 pointer past the comma after parsing a floating point register
55 name.
56
57 2008-02-14 Hakan Ardo <hakan@debian.org>
58
59 PR gas/2626
60 * config/tc-avr.c (mcu_types): Change the ISA tyoe of the attiny26
61 to AVR_ISA_2xxe.
62 (avr_operand): Disallow post-increment addressing in the lpm
63 instruction for the attiny26.
64
65 2008-02-13 Jan Beulich <jbeulich@novell.com>
66
67 * config/tc-i386.c (parse_real_register): Don't return 'FLAT'
68 if not in Intel mode.
69 (i386_intel_operand): Ignore segment overrides in immediate and
70 offset operands.
71 (intel_e11): Range-check i.mem_operands before use as array
72 index. Filter out FLAT for uses other than as segment override.
73 (intel_get_token): Remove broken promotion of "FLAT:" to mean
74 "offset FLAT:".
75
76 2008-02-13 Jan Beulich <jbeulich@novell.com>
77
78 * config/tc-i386.c (intel_e09): Also special-case 'bound'.
79
80 2008-02-13 Jan Beulich <jbeulich@novell.com>
81
82 * config/tc-i386.c (allow_pseudo_reg): New.
83 (parse_real_register): Check for NULL just once. Allow all
84 register table entries when allow_pseudo_reg is non-zero.
85 Don't allow any registers without type when allow_pseudo_reg
86 is zero.
87 (tc_x86_regname_to_dw2regnum): Replace with ...
88 (tc_x86_parse_to_dw2regnum): ... this.
89 (tc_x86_frame_initial_instructions): Adjust for above change.
90 * config/tc-i386.h (tc_regname_to_dw2regnum): Remove.
91 (tc_parse_to_dw2regnum): New.
92 (tc_x86_regname_to_dw2regnum): Replace with ...
93 (tc_x86_parse_to_dw2regnum): ... this.
94 * dw2gencfi.c (tc_parse_to_dw2regnum): New, broken out of ...
95 (cfi_parse_reg): ... this. Use tc_parse_to_dw2regnum. Adjust
96 error handling.
97
98 2008-02-12 Nick Clifton <nickc@redhat.com>
99
100 * config/tc-tic4x.c (tic4x_insn_insert): Add const qualifier to
101 argument.
102 (tic4x_insn_add): Likewise.
103 (md_begin): Drop cast that was discarding a const qualifier.
104 * config/tc-d30v.c (get_reloc): Add const qualifier to op
105 argument.
106 (build_insn): Drop cast that was discarding a const qualifier.
107
108 2008-02-11 H.J. Lu <hongjiu.lu@intel.com>
109
110 * config/tc-i386.c (cpu_arch): Add .xsave.
111 (md_show_usage): Add .xsave.
112
113 * doc/c-i386.texi: Add xsave to -march=.
114
115 2008-02-07 Alan Modra <amodra@bigpond.net.au>
116
117 * read.c (s_weakref): Don't pass unadorned NULL to concat.
118 * config/tc-i386.c (set_cpu_arch, md_parse_option): Likewise.
119
120 2008-02-05 Sterling Augustine <sterling@tensilica.com>
121
122 * config/tc-xtensa.c (relax_frag_immed): Change internal consistency
123 checks into assertions. When relaxation produces an operation that
124 does not fit in the current FLIX instruction, make sure that the
125 operation is relaxed as needed to account for being placed following
126 the current instruction.
127
128 2008-02-04 H.J. Lu <hongjiu.lu@intel.com>
129
130 PR 5715
131 * configure: Regenerated.
132
133 2008-02-04 Adam Nemet <anemet@caviumnetworks.com>
134
135 * config/tc-mips.c (mips_cpu_info_table): Add Octeon.
136
137 2008-01-31 Marc Gauthier <marc@tensilica.com>
138
139 * configure.tgt (xtensa*-*-*): Recognize processor variants.
140
141 2008-01-25 Kai Tietz <kai.tietz@onevision.com>
142
143 * read.c: (emit_expr): Correct for mingw use of printf size
144 specifier.
145
146 2008-01-24 Bob Wilson <bob.wilson@acm.org>
147
148 * doc/c-xtensa.texi (Xtensa Syntax): Clarify handling of opcodes that
149 can only be encoded in FLIX instructions but are not specified as such.
150 (Xtensa Automatic Alignment): Remove obsolete comment about debugging
151 labels.
152
153 2008-01-24 H.J. Lu <hongjiu.lu@intel.com>
154
155 * NEWS: Mention new command line options for x86 targets.
156
157 2008-01-23 H.J. Lu <hongjiu.lu@intel.com>
158
159 * config/tc-i386.c (md_show_usage): Replace tabs with spaces.
160
161 2008-01-23 Eric B. Weddington <eric.weddington@atmel.com>
162
163 * config/tc-avr.c (mcu_types): Change opcode set for at86rf401.
164
165 2008-01-23 H.J. Lu <hongjiu.lu@intel.com>
166
167 * config/tc-i386.c (md_show_usage): Show more processors for
168 -march=/-mtune=.
169
170 2008-01-22 H.J. Lu <hongjiu.lu@intel.com>
171
172 * config/tc-i386.c (i386_target_format): Remove cpummx2.
173
174 2008-01-22 H.J. Lu <hongjiu.lu@intel.com>
175
176 * config/tc-i386.c (XXX_PREFIX): Moved from tc-i386.h.
177 (XXX_MNEM_SUFFIX): Likewise.
178 (END_OF_INSN): Likewise.
179 (templates): Likewise.
180 (modrm_byte): Likewise.
181 (rex_byte): Likewise.
182 (DREX_XXX): Likewise.
183 (drex_byte): Likewise.
184 (sib_byte): Likewise.
185 (processor_type): Likewise.
186 (arch_entry): Likewise.
187 (cpu_sub_arch_name): Remove const.
188 (cpu_arch): Add .vmx and .smx.
189 (set_cpu_arch): Append cpu_sub_arch_name.
190 (md_parse_option): Support -march=CPU[,+EXTENSION...].
191 (md_show_usage): Updated.
192
193 * config/tc-i386.h (XXX_PREFIX): Moved to tc-i386.c.
194 (XXX_MNEM_SUFFIX): Likewise.
195 (END_OF_INSN): Likewise.
196 (templates): Likewise.
197 (modrm_byte): Likewise.
198 (rex_byte): Likewise.
199 (DREX_XXX): Likewise.
200 (drex_byte): Likewise.
201 (sib_byte): Likewise.
202 (processor_type): Likewise.
203 (arch_entry): Likewise.
204
205 * doc/as.texinfo: Update i386 -march option.
206
207 * doc/c-i386.texi: Update -march= for ISA.
208
209 2008-01-18 Bob Wilson <bob.wilson@acm.org>
210
211 * config/tc-xtensa.c (xtensa_leb128): New function.
212 (md_pseudo_table): Use it for sleb128 and uleb128.
213 (is_leb128_expr): New internal flag.
214 (xtensa_symbol_new_hook): Check new flag.
215
216 2008-01-16 Eric B. Weddington <eric.weddington@atmel.com>
217
218 * config/tc-avr.c (mcu_types): Change opcode set for avr3,
219 at90usb82, at90usb162.
220 * doc/c-avr.texi: Change architecture grouping for at90usb82,
221 at90usb162.
222 These changes support the new avr35 architecture group in gcc.
223
224 2008-01-15 H.J. Lu <hongjiu.lu@intel.com>
225
226 * config/tc-i386.c (md_assemble): Also zap movzx and movsx
227 suffix for AT&T syntax.
228
229 2008-01-14 H.J. Lu <hongjiu.lu@intel.com>
230
231 * config/tc-i386.c (match_reg_size): New.
232 (match_mem_size): Likewise.
233 (operand_size_match): Likewise.
234 (operand_type_match): Also clear all size fields.
235 (match_template): Skip Intel syntax when in AT&T syntax.
236 Call operand_size_match to check operand size.
237 (i386_att_operand): Set the mem field to 1 for memory
238 operand.
239 (i386_intel_operand): Likewise.
240
241 2008-01-12 H.J. Lu <hongjiu.lu@intel.com>
242
243 PR gas/5534
244 * config/tc-i386.c (_i386_insn): Update comment.
245 (operand_type_match): Also clear unspecified.
246 (operand_type_register_match): Likewise.
247 (parse_operands): Initialize unspecified.
248 (i386_intel_operand): Likewise.
249 (match_template): Check memory and accumulator operand size.
250 (i386_att_operand): Clear unspecified on register operand.
251 (intel_e11): Likewise.
252 (intel_e09): Set operand size and clean unspecified for
253 "XXX PTR".
254
255 2008-01-11 Andreas Schwab <schwab@suse.de>
256
257 * read.c (s_space): Declare `repeat' as offsetT.
258
259 2008-01-10 H.J. Lu <hongjiu.lu@intel.com>
260
261 * config/tc-i386.c (match_template): Check processor support
262 first.
263
264 2008-01-10 H.J. Lu <hongjiu.lu@intel.com>
265
266 * config/tc-i386.c (match_template): Continue if processor
267 doesn't match.
268
269 2008-01-09 Alexandre Oliva <aoliva@redhat.com>
270
271 * config/tc-ia64.c (ia64_convert_frag): Zero-initialize room for
272 unwind personality function address.
273
274 2008-01-09 Bob Wilson <bob.wilson@acm.org>
275
276 * dwarf2dbg.c (out_sleb128): Delete.
277 (size_fixed_inc_line_addr, emit_fixed_inc_line_addr): New.
278 (out_fixed_inc_line_addr): Delete.
279 (relax_inc_line_addr, dwarf2dbg_estimate_size_before_relax): Call new
280 size_fixed_inc_line_addr if DWARF2_USE_FIXED_ADVANCE_PC is set.
281 (dwarf2dbg_convert_frag): Likewise for emit_fixed_inc_line_addr.
282 (process_entries): Remove calls to out_fixed_inc_line_addr. When
283 DWARF2_USE_FIXED_ADVANCE_PC is set, call relax_inc_line_addr.
284 * read.h (emit_expr_fix): New prototype.
285 * read.c (emit_expr): Move code to emit_expr_fix and use it here.
286 (emit_expr_fix): New.
287
288 2008-01-09 H.J. Lu <hongjiu.lu@intel.com>
289
290 * config/tc-i386.c (match_template): Check register size
291 only when size of operands can be encoded the canonical way.
292
293 2008-01-08 H.J. Lu <hongjiu.lu@intel.com>
294
295 * config/tc-i386.c (i386_operand): Renamed to ...
296 (i386_att_operand): This.
297 (parse_operands): Updated.
298
299 2008-01-05 H.J. Lu <hongjiu.lu@intel.com>
300
301 * doc/c-i386.texi: Update .att_mnemonic and .intel_mnemonic.
302
303 * config/tc-i386.c (set_intel_mnemonic): Set intel_mnemonic
304 only.
305 (md_assemble): Remove Intel mode workaround.
306 (match_template): Check support for old gcc, AT&T mnemonic
307 and Intel Syntax.
308 (md_parse_option): Don't set intel_mnemonic to 0 for
309 OPTION_MOLD_GCC.
310
311 2008-01-04 H.J. Lu <hongjiu.lu@intel.com>
312
313 * config/tc-i386.h: Update copyright to 2008.
314
315 2008-01-04 Nick Clifton <nickc@redhat.com>
316
317 * config/tc-ppc.c (parse_cpu): Preserve the settings of the
318 PPC_OPCODE_ALTIVEC and PPC_OPCODE_SPE flags.
319
320 2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
321
322 * config/tc-i386.c (md_assemble): Use !intel_mnemonic instead
323 of SYSV386_COMPAT.
324
325 2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
326
327 * gas/config/tc-i386.c (cpu_arch_flags_not): Removed.
328 (cpu_flags_not): Likewise.
329 (cpu_flags_match): Updated to check 64bit and arch.
330 (set_code_flag): Remove cpu_arch_flags_not.
331 (set_16bit_gcc_code_flag): Likewise.
332 (set_cpu_arch): Likewise.
333 (md_begin): Likewise.
334 (parse_insn): Call cpu_flags_match to check 64bit and arch.
335 (match_template): Likewise.
336
337 2008-01-03 Jakub Jelinek <jakub@redhat.com>
338
339 * config/tc-i386.c (process_drex): Initialize modrm_reg and
340 modrm_regmem to 0 instead of None.
341
342 2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
343
344 * config/tc-i386.c (match_template): Use the xmmword field
345 instead of no_xsuf.
346
347 2008-01-02 H.J. Lu <hongjiu.lu@intel.com>
348
349 * config/tc-i386.c (process_suffix): Fix a typo.
350
351 2008-01-02 H.J. Lu <hongjiu.lu@intel.com>
352
353 PR gas/5534
354 * config/tc-i386.c (match_template): Handle XMMWORD_MNEM_SUFFIX.
355 Check memory size in Intel mode.
356 (process_suffix): Handle XMMWORD_MNEM_SUFFIX.
357 (intel_e09): Likewise.
358
359 * config/tc-i386.h (XMMWORD_MNEM_SUFFIX): New.
360
361 2008-01-02 Catherine Moore <clm@codesourcery.com>
362
363 * config/tc-mips.c (mips_ip): Check operands on jalr instruction.
364
365 For older changes see ChangeLog-2007
366 \f
367 Local Variables:
368 mode: change-log
369 left-margin: 8
370 fill-column: 74
371 version-control: never
372 End:
This page took 0.057809 seconds and 5 git commands to generate.