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