OSDN Git Service

* doc/c-sparc.texi: Add syntax section.
[pf3gnuchains/pf3gnuchains3x.git] / gas / ChangeLog
1 2008-04-18  David S. Miller  <davem@davemloft.net>
2
3         * doc/c-sparc.texi: Add syntax section.
4
5 2008-04-18  H.J. Lu  <hongjiu.lu@intel.com>
6
7         * config/tc-i386.c (build_modrm_byte): Don't check FMA to swap
8         REG and NDS for instructions with immediate operand.
9
10 2008-04-18  H.J. Lu  <hongjiu.lu@intel.com>
11
12         * config/tc-i386.c (build_modrm_byte): Swap REG and NDS for
13         FMA.
14
15 2008-04-16  David S. Miller  <davem@davemloft.net>
16
17         * config/tc-sparc.c (sparc_ip): Add support for gotdata mnemonics
18         and relocation generation.
19         (tc_gen_reloc): Likewise.
20
21 2008-04-15  Andrew Stubbs  <andrew.stubbs@st.com>
22
23         * config/tc-sh.c (md_apply_fix): Make sure BFD_RELOC_SH_PCRELIMM8BY4
24         relocations are properly aligned, and not negative.
25
26 2008-04-15  Khem Raj  <kraj@mvista.com>
27
28         * doc/tc-arm.texi: Fix fnstart and fnend directive names.
29
30 2008-04-14  Edmar Wienskoski  <edmar@freescale.com>
31
32         * config/tc-ppc.c (parse_cpu): Handle "e500mc".  Extend "e500" to
33         accept e500mc instructions.
34         (md_show_usage): Document -me500mc.
35
36 2008-04-11  Nick Clifton  <nickc@redhat.com>
37
38         * listing.c (print_timestamp): Use localtime rather than
39         localtime_r since not all build environments provide the latter.
40
41 2008-04-10  H.J. Lu  <hongjiu.lu@intel.com>
42
43         * NEWS: Mention -msse-check=[none|error|warning].
44
45         * config/tc-i386.c (sse_check): New.
46         (OPTION_MSSE_CHECK): Likewise.
47         (md_assemble): Check SSE instructions if needed.
48         (md_longopts): Add -msse-check.
49         (md_parse_option): Handle OPTION_MSSE_CHECK.
50         (md_show_usage): Show -msse-check=[none|error|warning].
51
52         * doc/c-i386.texi: Document -msse-check=[none|error|warning].
53
54 2008-04-10  Santiago Urueña  <suruena@gmail.com>
55
56         * listing.c: Add -ag listing flag to show general information in
57         listings such as gas version, passed options, and time stamp.
58         (listing_general_info): New function.
59         (print_options): New function.
60         (print_single_option): New function.
61         (print_timestamp): New function.
62         (MAX_DATELEN): Define.
63         (listing_print): Add call to listing_general_info.
64         * listing.h (LISTING_GENERAL): Define.
65         (listing_print): Add new parameter.
66         * as.c (show_usage): Print new switch.
67         (parse_args): Parse new switch.
68         (main): Pass command line on to listing_print.
69         * NEWS: Mention this new feature.
70         * doc/as.texinfo: Document the new sub-option.
71
72 2008-04-08  Alan Modra  <amodra@bigpond.net.au>
73
74         * dwarf2dbg.c (dwarf2_emit_insn): Simplify test before dwarf2_where
75         call.  Delete out of date comment.
76         (dwarf2_consume_line_info): Always clear dwarf2_loc_directive_seen.
77         (dwarf2_emit_label): Don't emit unless there has been a previous
78         .file or we are outputting assembler generated debug.
79         dwarf2_consume_line_info after emitting line info, not before.
80         (out_debug_info): Simplify files_in_use test.
81
82 2008-04-07  H.J. Lu  <hongjiu.lu@intel.com>
83
84         * config/tc-i386.c (parse_real_register): Return AVX register
85         only if AVX is enabled.
86
87 2008-04-07  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
88
89         PR gas/6043
90         * config/tc-sh64.c (shmedia_md_pcrel_from_section): Use
91         md_pcrel_from_section for BFD_RELOC_64 and BFD_RELOC_64_PCREL.
92
93 2008-04-04  Adrian Bunk  <bunk@stusta.de>
94             Bob Wilson  <bob.wilson@acm.org>
95         
96         * config/tc-xtensa.c (xg_apply_fix_value): Check return code from
97         call to decode_reloc.
98         
99 2008-04-04  H.J. Lu  <hongjiu.lu@intel.com>
100
101         * NEWS: Mention XSAVE.  Change CLMUL to PCLMUL.
102
103         * config/tc-i386.c (cpu_arch): Add .pclmul.
104         (md_show_usage): Replace clmul with pclmul.
105         * doc/c-i386.texi: Likewise.
106
107 2008-04-03  H.J. Lu  <hongjiu.lu@intel.com>
108
109         * NEWS: Mention AES, CLMUL, AVX/FMA and -msse2avx.
110
111         * doc/c-i386.texi: Add avx, aes, clmul and fma to -march=.
112         Document -msse2avx, .avx, .aes, .clmul and .fma.
113
114         * config/tc-i386.c (YMMWORD_MNEM_SUFFIX): New.
115         (vex_prefix): Likewise.
116         (sse2avx): Likewise.
117         (CPU_FLAGS_ARCH_MATCH): Likewise.
118         (CPU_FLAGS_64BIT_MATCH): Likewise.
119         (CPU_FLAGS_32BIT_MATCH): Likewise.
120         (CPU_FLAGS_PERFECT_MATCH): Likewise.
121         (regymm): Likewise.
122         (vex_imm4): Likewise.
123         (fits_in_imm4): Likewise.
124         (build_vex_prefix): Likewise.
125         (VEX_check_operands): Likewise.
126         (bad_implicit_operand): Likewise.
127         (OPTION_MSSE2AVX): Likewise.
128         (T_YMMWORD): Likewise.
129         (_i386_insn): Add vex.
130         (cpu_arch): Add .avx, .aes, .clmul and .fma.
131         (cpu_flags_match): Changed to take a pointer to const template.
132         Enable encoding SSE instructions with VEX prefix for -msse2avx.
133         (match_mem_size): Also check ymmword.
134         (operand_type_match): Clear ymmword.
135         (md_begin): Allow '_' in mnemonic.
136         (type_names): Add OPERAND_TYPE_VEX_IMM4.
137         (process_immext): Update assert.
138         (md_assemble): Don't call process_immext if sse2avx and immext
139         are true.  Call build_vex_prefix if vex is true.
140         (parse_insn): Updated for cpu_flags_match.
141         (swap_operands): Handle 5 operands.
142         (match_template): Handle 5 operands. Updated for cpu_flags_match.
143         Check regymm.  Call VEX_check_operands. Handle YMMWORD_MNEM_SUFFIX.
144         (process_suffix): Handle YMMWORD_MNEM_SUFFIX.
145         (check_byte_reg): Check regymm.
146         (process_operands): Duplicate the destination register for
147         -msse2avx if needed.
148         (build_modrm_byte): Updated for instructions with VEX encoding.
149         (output_insn): Output VEX prefix if needed.
150         (md_longopts): Add msse2avx.
151         (md_parse_option): Handle OPTION_MSSE2AVX.
152         (md_show_usage): Add avx, aes, clmul, fma and -msse2avx.
153         (intel_e09): Support YMMWORD.
154         (intel_e11): Likewise.
155         (intel_get_token): Likewise.
156
157 2008-03-28  Eric B. Weddington  <eric.weddington@atmel.com>
158
159         * config/tc-avr.c (mcu_types): Add attiny167.
160         * doc/c-avr.texi: Likewise.
161
162 2008-03-28  Eric B. Weddington  <eric.weddington@atmel.com>
163
164         * config/tc-avr.c (mcu_types): Add atmega32u4.
165         * doc/c-avr.texi: Likewise.
166
167 2008-03-28  Eric B. Weddington  <eric.weddington@atmel.com>
168
169         * config/tc-avr.c (mcu_types): Add atmega32c1.
170         * doc/c-avr.texi: Likewise.
171
172 2008-03-28  Paul Brook  <paul@codesourcery.com>
173
174         * config/tc-arm.c (parse_neon_mov): Parse register before immediate
175         to avoid spurious symbols.
176
177 2008-03-28  Nathan Sidwell  <nathan@codesourcery.com>
178
179         * config/tc-m68k.c (md_convert_frag_1): Replace as_fatal with
180         as_bad_where.
181
182 2008-03-27  Eric B. Weddington  <eric.weddington@atmel.com>
183
184         * config/tc-avr.c (mcu_types): Add atmega32m1.
185         * doc/c-avr.texi: Likewise.
186
187 2008-03-27  Ineiev  <ineiev@yahoo.co.uk>
188
189         * config/tc-arm.c (do_neon_cvt): Move variable declarations to
190         start of block.
191         (do_neon_ext): Fix sign of comparison.
192
193 2008-03-26  Bernd Schmidt  <bernd.schmidt@analog.com>
194
195         From Jie Zhang  <jie.zhang@analog.com>
196         * config/bfin-parse.y (asm_1): Check AREGS in comparison
197         instructions. And call yyerror when comparing PREG with
198         DREG.
199         (check_macfunc_option): New.
200         (check_macfuncs): Check option by calling check_macfunc_option.
201         Fix comparison always true warnings.  Both scalar instructions
202         of vector instruction must share the same mode option.  Only allow
203         option mode at the end of the second instruction of the vector.
204         (asm_1): Check option by calling check_macfunc_option.
205
206         * config/bfin-parse.y (check_macfunc_option): Allow (IU)
207         option for multiply and multiply-accumulate to data register
208         instruction.
209         (check_macfuncs): Don't check if accumulator matches the data register
210         here.
211         (assign_macfunc): Check if accumulator matches the
212         data register in each rule that moves to the data
213         register.
214
215         * config/tc-bfin.c (bfin_start_line_hook): Localize the labels
216         generated for LOOP_BEGIN and LOOP_END instructions.
217         (bfin_gen_loop): Likewise. 
218
219 2008-03-19  Andreas Krebbel  <krebbel1@de.ibm.com>
220
221         * config/tc-s390.c (md_parse_option): z10 option added.
222
223 2008-03-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
224
225         * aclocal.m4: Regenerate.
226         * configure: Likewise.
227         * Makefile.in: Likewise.
228         * doc/Makefile.in: Likewise.
229
230 2008-03-17  Adrian Bunk  <bunk@stusta.de>
231
232         PR 5946
233         * config/tc-hppa.c (is_same_frag): Delete.
234
235 2008-03-14  Sterling Augustine  <sterling@tensilica.com>
236         
237         * config/tc-xtensa.h (xtensa_relax_statesE): Update comment for
238         RELAX_LOOP_END_ADD_NOP.
239         
240 2008-03-13  Evandro Menezes  <evandro@yahoo.com>
241
242         PR gas/5895
243         * read.c (s_mexit): Warn if attempting to exit a macro when not
244         inside a macro definition.
245
246 2008-03-13  Alan Modra  <amodra@bigpond.net.au>
247
248         * Makefile.am: Run "make dep-am".
249         * Makefile.in: Regenerate.
250         * configure: Regenerate.
251
252 2008-03-09  Paul Brook  <paul@codesourcery.com>
253
254         * config/tc-arm.c (arm_cpu_option_table): Add cortex-a9.
255         * doc/c-arm.texi: Add cortex-a9.
256
257 2008-03-09  Paul Brook  <paul@codesourcery.com>
258
259         * config/tc-arm.c (fpu_vfp_ext_d32): New vairable.
260         (parse_vfp_reg_list, encode_arm_vfp_reg): Use it.
261         (arm_option_cpu_value): Add vfpv3-d16, vfpv2 and vfpv3.
262         (aeabi_set_public_attributes): Handle Tag_VFP_arch=VFPV3-D16.
263         * doc/c-arm.texi: Document new ARM FPU variants.
264
265 2008-03-07  Paul Brook  <paul@codesourcery.com>
266
267         * config/tc-arm.c (md_apply_fix): Use correct offset range.
268
269 2008-03-07  Alan Modra  <amodra@bigpond.net.au>
270
271         * config/tc-ppc.c (ppc_setup_opcodes): Tidy.  Add code to test
272         for strict ordering of powerpc_opcodes, but disable for now.
273
274 2008-03-04  Paul Brook  <paul@codesourcery.com>
275
276         * config/tc-arm.c (arm_ext_barrier, arm_ext_msr): New.
277         (arm_ext_v7m): Rename...
278         (arm_ext_m): ... to this.  Include v6-M.
279         (do_t_add_sub): Allow narrow low-reg non flag setting adds.
280         (do_t_mrs, do_t_msr, aeabi_set_public_attributes): Use arm_ext_m.
281         (md_assemble): Allow wide msr instructions.
282         (insns): Add classifications for v6-m instructions.
283         (arm_cpu_option_table): Add cortex-m1.
284         (arm_arch_option_table): Add armv6-m.
285         (cpu_arch): Add ARM_ARCH_V6M.  Fix numbering of other v6 variants.
286
287 2008-03-03  Sterling Augustine  <sterling@tensilica.com>
288             Bob Wilson  <bob.wilson@acm.org>
289         
290         * config/tc-xtensa.c (xtensa_num_pipe_stages): New.
291         (md_begin): Initialize it.
292         (resources_conflict): Use it.
293         
294 2008-03-03  Sterling Augustine  <sterling@tensilica.com>
295         
296         * config/tc-xtensa.h (RELAX_XTENSA_NONE): New.
297         
298 2008-03-03  Denys Vlasenko <vda.linux@googlemail.com>
299             H.J. Lu  <hongjiu.lu@intel.com>
300
301         PR gas/5543
302         * read.c (pseudo_set): Don't allow global register symbol.
303
304         * symbols.c (S_SET_EXTERNAL): Don't allow register symbol
305         global.
306
307 2008-03-03  H.J. Lu  <hongjiu.lu@intel.com>
308
309         PR gas/5543
310         * write.c (write_object_file): Don't allow symbols which were
311         equated to register.  Stop if there is an error.
312
313 2008-03-01  Alan Modra  <amodra@bigpond.net.au>
314
315         * config/tc-ppc.h (struct _ppc_fix_extra): New.
316         (ppc_cpu): Declare.
317         (TC_FIX_TYPE, TC_INIT_FIX_DATA): Define.
318         * config/tc-ppc.c (ppu_cpu): Make global.
319         (ppc_insert_operand): Add ppu_cpu parameter.
320         (md_assemble): Adjust for above change.
321         (md_apply_fix): Pass tc_fix_data.ppc_cpu to ppc_insert_operand.
322
323 2008-02-22  Nick Clifton  <nickc@redhat.com>
324
325         * config/tc-arm.c (do_bx): Only test EF_ARM_EABI_VERSION on ELF
326         targeted ARM ports, otherwise just skip generating the reloc.
327
328 2008-02-18  H.J. Lu  <hongjiu.lu@intel.com>
329
330         * doc/c-i386.texi: Update -march= and .arch.
331
332 2008-02-18  Nick Clifton  <nickc@redhat.com>
333
334         * config/tc-mn10300.c (has_known_symbol_location): New function.
335         Do not regard weak symbols as having a known location.
336         (md_estimate_size_before_relax): Use new function.
337         (md_pcrel_from): Do not compute a pcrel against a weak symbol.
338
339 2008-02-18  Jan Beulich  <jbeulich@novell.com>
340
341         * config/tc-i386.c (match_template): Disallow 'l' suffix when
342         currently selected CPU has no 32-bit support.
343         (parse_real_register): Do not return registers not available on
344         currently selected CPU.
345
346 2008-02-16  H.J. Lu  <hongjiu.lu@intel.com>
347
348         * config/tc-i386.c (process_immext): Fix format.
349
350 2008-02-16  H.J. Lu  <hongjiu.lu@intel.com>
351
352         * config/tc-i386.c (inoutportreg): New.
353         (process_immext): New.
354         (md_assemble): Use it.
355         (update_imm): Use imm16 and imm32s.
356         (i386_att_operand): Use inoutportreg. 
357
358 2008-02-14  H.J. Lu  <hongjiu.lu@intel.com>
359
360         * config/tc-i386.c (operand_type_all_zero): New.
361         (operand_type_set): Likewise.
362         (operand_type_equal): Likewise.
363         (cpu_flags_all_zero): Likewise.
364         (cpu_flags_set): Likewise.
365         (cpu_flags_equal): Likewise.
366         (UINTS_ALL_ZERO): Removed.
367         (UINTS_SET): Likewise.
368         (UINTS_CLEAR): Likewise.
369         (UINTS_EQUAL): Likewise.
370         (cpu_flags_match): Updated.
371         (smallest_imm_type): Likewise.
372         (set_cpu_arch): Likewise.
373         (md_assemble): Likewise.
374         (optimize_imm): Likewise.
375         (match_template): Likewise.
376         (process_suffix): Likewise.
377         (update_imm): Likewise.
378         (process_drex): Likewise.
379         (process_operands): Likewise.
380         (build_modrm_byte): Likewise.
381         (i386_immediate): Likewise.
382         (i386_displacement): Likewise.
383         (i386_att_operand): Likewise.
384         (parse_real_register): Likewise.
385         (md_parse_option): Likewise.
386         (i386_target_format): Likewise.
387
388 2008-02-14  Dimitry Andric  <dimitry@andric.com>
389
390         PR gas/5712
391         * config/tc-arm.c (s_arm_unwind_save): Advance the input line
392         pointer past the comma after parsing a floating point register
393         name.
394
395 2008-02-14  Hakan Ardo  <hakan@debian.org>
396
397         PR gas/2626
398         * config/tc-avr.c (mcu_types): Change the ISA tyoe of the attiny26
399         to AVR_ISA_2xxe.
400         (avr_operand): Disallow post-increment addressing in the lpm
401         instruction for the attiny26.
402
403 2008-02-13  Jan Beulich  <jbeulich@novell.com>
404
405         * config/tc-i386.c (parse_real_register): Don't return 'FLAT'
406         if not in Intel mode.
407         (i386_intel_operand): Ignore segment overrides in immediate and
408         offset operands.
409         (intel_e11): Range-check i.mem_operands before use as array
410         index. Filter out FLAT for uses other than as segment override.
411         (intel_get_token): Remove broken promotion of "FLAT:" to mean
412         "offset FLAT:".
413
414 2008-02-13  Jan Beulich  <jbeulich@novell.com>
415
416         * config/tc-i386.c (intel_e09): Also special-case 'bound'.
417
418 2008-02-13  Jan Beulich  <jbeulich@novell.com>
419
420         * config/tc-i386.c (allow_pseudo_reg): New.
421         (parse_real_register): Check for NULL just once. Allow all
422         register table entries when allow_pseudo_reg is non-zero.
423         Don't allow any registers without type when allow_pseudo_reg
424         is zero.
425         (tc_x86_regname_to_dw2regnum): Replace with ...
426         (tc_x86_parse_to_dw2regnum): ... this.
427         (tc_x86_frame_initial_instructions): Adjust for above change.
428         * config/tc-i386.h (tc_regname_to_dw2regnum): Remove.
429         (tc_parse_to_dw2regnum): New.
430         (tc_x86_regname_to_dw2regnum): Replace with ...
431         (tc_x86_parse_to_dw2regnum): ... this.
432         * dw2gencfi.c (tc_parse_to_dw2regnum): New, broken out of ...
433         (cfi_parse_reg): ... this. Use tc_parse_to_dw2regnum. Adjust
434         error handling.
435
436 2008-02-12  Nick Clifton  <nickc@redhat.com>
437
438         * config/tc-tic4x.c (tic4x_insn_insert): Add const qualifier to
439         argument.
440         (tic4x_insn_add): Likewise.
441         (md_begin): Drop cast that was discarding a const qualifier.
442         * config/tc-d30v.c (get_reloc): Add const qualifier to op
443         argument.
444         (build_insn): Drop cast that was discarding a const qualifier.
445
446 2008-02-11  H.J. Lu  <hongjiu.lu@intel.com>
447
448         * config/tc-i386.c (cpu_arch): Add .xsave.
449         (md_show_usage): Add .xsave.
450
451         * doc/c-i386.texi: Add xsave to -march=.
452
453 2008-02-07  Alan Modra  <amodra@bigpond.net.au>
454
455         * read.c (s_weakref): Don't pass unadorned NULL to concat.
456         * config/tc-i386.c (set_cpu_arch, md_parse_option): Likewise.
457
458 2008-02-05  Sterling Augustine  <sterling@tensilica.com>
459         
460         * config/tc-xtensa.c (relax_frag_immed): Change internal consistency
461         checks into assertions.  When relaxation produces an operation that
462         does not fit in the current FLIX instruction, make sure that the
463         operation is relaxed as needed to account for being placed following
464         the current instruction.
465         
466 2008-02-04  H.J. Lu  <hongjiu.lu@intel.com>
467
468         PR 5715
469         * configure: Regenerated.
470
471 2008-02-04  Adam Nemet  <anemet@caviumnetworks.com>
472
473         * config/tc-mips.c (mips_cpu_info_table): Add Octeon.
474
475 2008-01-31  Marc Gauthier  <marc@tensilica.com>
476
477         * configure.tgt (xtensa*-*-*): Recognize processor variants.
478
479 2008-01-25  Kai Tietz  <kai.tietz@onevision.com>
480
481         * read.c: (emit_expr): Correct for mingw use of printf size 
482         specifier.
483
484 2008-01-24  Bob Wilson  <bob.wilson@acm.org>
485         
486         * doc/c-xtensa.texi (Xtensa Syntax): Clarify handling of opcodes that
487         can only be encoded in FLIX instructions but are not specified as such.
488         (Xtensa Automatic Alignment): Remove obsolete comment about debugging
489         labels.
490         
491 2008-01-24  H.J. Lu  <hongjiu.lu@intel.com>
492
493         * NEWS: Mention new command line options for x86 targets.
494
495 2008-01-23  H.J. Lu  <hongjiu.lu@intel.com>
496
497         * config/tc-i386.c (md_show_usage): Replace tabs with spaces.
498
499 2008-01-23  Eric B. Weddington  <eric.weddington@atmel.com>
500
501         * config/tc-avr.c (mcu_types): Change opcode set for at86rf401.
502
503 2008-01-23  H.J. Lu  <hongjiu.lu@intel.com>
504
505         * config/tc-i386.c (md_show_usage): Show more processors for
506         -march=/-mtune=.
507
508 2008-01-22  H.J. Lu  <hongjiu.lu@intel.com>
509
510         * config/tc-i386.c (i386_target_format): Remove cpummx2.
511
512 2008-01-22  H.J. Lu  <hongjiu.lu@intel.com>
513
514         * config/tc-i386.c (XXX_PREFIX): Moved from tc-i386.h.
515         (XXX_MNEM_SUFFIX): Likewise.
516         (END_OF_INSN): Likewise.
517         (templates): Likewise.
518         (modrm_byte): Likewise.
519         (rex_byte): Likewise.
520         (DREX_XXX): Likewise.
521         (drex_byte): Likewise.
522         (sib_byte): Likewise.
523         (processor_type): Likewise.
524         (arch_entry): Likewise.
525         (cpu_sub_arch_name): Remove const.
526         (cpu_arch): Add .vmx and .smx.
527         (set_cpu_arch): Append cpu_sub_arch_name.
528         (md_parse_option): Support -march=CPU[,+EXTENSION...].
529         (md_show_usage): Updated.
530
531         * config/tc-i386.h (XXX_PREFIX): Moved to tc-i386.c.
532         (XXX_MNEM_SUFFIX): Likewise.
533         (END_OF_INSN): Likewise.
534         (templates): Likewise.
535         (modrm_byte): Likewise.
536         (rex_byte): Likewise.
537         (DREX_XXX): Likewise.
538         (drex_byte): Likewise.
539         (sib_byte): Likewise.
540         (processor_type): Likewise.
541         (arch_entry): Likewise.
542
543         * doc/as.texinfo: Update i386 -march option.
544
545         * doc/c-i386.texi: Update -march= for ISA.
546
547 2008-01-18  Bob Wilson  <bob.wilson@acm.org>
548         
549         * config/tc-xtensa.c (xtensa_leb128): New function.
550         (md_pseudo_table): Use it for sleb128 and uleb128.
551         (is_leb128_expr): New internal flag.
552         (xtensa_symbol_new_hook): Check new flag.
553         
554 2008-01-16  Eric B. Weddington  <eric.weddington@atmel.com>
555
556         * config/tc-avr.c (mcu_types): Change opcode set for avr3,
557         at90usb82, at90usb162.
558         * doc/c-avr.texi: Change architecture grouping for at90usb82, 
559         at90usb162.
560         These changes support the new avr35 architecture group in gcc.
561
562 2008-01-15  H.J. Lu  <hongjiu.lu@intel.com>
563
564         * config/tc-i386.c (md_assemble): Also zap movzx and movsx
565         suffix for AT&T syntax.
566
567 2008-01-14  H.J. Lu  <hongjiu.lu@intel.com>
568
569         * config/tc-i386.c (match_reg_size): New.
570         (match_mem_size): Likewise.
571         (operand_size_match): Likewise.
572         (operand_type_match): Also clear all size fields.
573         (match_template): Skip Intel syntax when in AT&T syntax.
574         Call operand_size_match to check operand size.
575         (i386_att_operand): Set the mem field to 1 for memory
576         operand.
577         (i386_intel_operand): Likewise.
578
579 2008-01-12  H.J. Lu  <hongjiu.lu@intel.com>
580
581         PR gas/5534
582         * config/tc-i386.c (_i386_insn): Update comment.
583         (operand_type_match): Also clear unspecified.
584         (operand_type_register_match): Likewise.
585         (parse_operands): Initialize unspecified.
586         (i386_intel_operand): Likewise.
587         (match_template): Check memory and accumulator operand size.
588         (i386_att_operand): Clear unspecified on register operand.
589         (intel_e11): Likewise.
590         (intel_e09): Set operand size and clean unspecified for
591         "XXX PTR".
592
593 2008-01-11  Andreas Schwab  <schwab@suse.de>
594
595         * read.c (s_space): Declare `repeat' as offsetT.
596
597 2008-01-10  H.J. Lu  <hongjiu.lu@intel.com>
598
599         * config/tc-i386.c (match_template): Check processor support
600         first.
601
602 2008-01-10  H.J. Lu  <hongjiu.lu@intel.com>
603
604         * config/tc-i386.c (match_template): Continue if processor
605         doesn't match.
606
607 2008-01-09  Alexandre Oliva  <aoliva@redhat.com>
608
609         * config/tc-ia64.c (ia64_convert_frag): Zero-initialize room for
610         unwind personality function address.
611
612 2008-01-09  Bob Wilson  <bob.wilson@acm.org>
613         
614         * dwarf2dbg.c (out_sleb128): Delete.
615         (size_fixed_inc_line_addr, emit_fixed_inc_line_addr): New.
616         (out_fixed_inc_line_addr): Delete.
617         (relax_inc_line_addr, dwarf2dbg_estimate_size_before_relax): Call new
618         size_fixed_inc_line_addr if DWARF2_USE_FIXED_ADVANCE_PC is set.
619         (dwarf2dbg_convert_frag): Likewise for emit_fixed_inc_line_addr.
620         (process_entries): Remove calls to out_fixed_inc_line_addr.  When
621         DWARF2_USE_FIXED_ADVANCE_PC is set, call relax_inc_line_addr.
622         * read.h (emit_expr_fix): New prototype.
623         * read.c (emit_expr): Move code to emit_expr_fix and use it here.
624         (emit_expr_fix): New.
625         
626 2008-01-09  H.J. Lu  <hongjiu.lu@intel.com>
627
628         * config/tc-i386.c (match_template): Check register size
629         only when size of operands can be encoded the canonical way.
630
631 2008-01-08  H.J. Lu  <hongjiu.lu@intel.com>
632
633         * config/tc-i386.c (i386_operand): Renamed to ...
634         (i386_att_operand): This.
635         (parse_operands): Updated.
636
637 2008-01-05  H.J. Lu  <hongjiu.lu@intel.com>
638
639         * doc/c-i386.texi: Update .att_mnemonic and .intel_mnemonic.
640
641         * config/tc-i386.c (set_intel_mnemonic): Set intel_mnemonic
642         only.
643         (md_assemble): Remove Intel mode workaround.
644         (match_template): Check support for old gcc, AT&T mnemonic
645         and Intel Syntax.
646         (md_parse_option): Don't set intel_mnemonic to 0 for
647         OPTION_MOLD_GCC.
648
649 2008-01-04  H.J. Lu  <hongjiu.lu@intel.com>
650
651         * config/tc-i386.h: Update copyright to 2008.
652
653 2008-01-04  Nick Clifton  <nickc@redhat.com>
654
655         * config/tc-ppc.c (parse_cpu): Preserve the settings of the
656         PPC_OPCODE_ALTIVEC and PPC_OPCODE_SPE flags.
657
658 2008-01-03  H.J. Lu  <hongjiu.lu@intel.com>
659
660         * config/tc-i386.c (md_assemble): Use !intel_mnemonic instead
661         of SYSV386_COMPAT.
662
663 2008-01-03  H.J. Lu  <hongjiu.lu@intel.com>
664
665         * gas/config/tc-i386.c (cpu_arch_flags_not): Removed.
666         (cpu_flags_not): Likewise.
667         (cpu_flags_match): Updated to check 64bit and arch.
668         (set_code_flag): Remove cpu_arch_flags_not.
669         (set_16bit_gcc_code_flag): Likewise.
670         (set_cpu_arch): Likewise.
671         (md_begin): Likewise.
672         (parse_insn): Call cpu_flags_match to check 64bit and arch.
673         (match_template): Likewise.
674
675 2008-01-03  Jakub Jelinek  <jakub@redhat.com>
676
677         * config/tc-i386.c (process_drex): Initialize modrm_reg and
678         modrm_regmem to 0 instead of None.
679
680 2008-01-03  H.J. Lu  <hongjiu.lu@intel.com>
681
682         * config/tc-i386.c (match_template): Use the xmmword field
683         instead of no_xsuf.
684
685 2008-01-02  H.J. Lu  <hongjiu.lu@intel.com>
686
687         * config/tc-i386.c (process_suffix): Fix a typo.
688
689 2008-01-02  H.J. Lu  <hongjiu.lu@intel.com>
690
691         PR gas/5534
692         * config/tc-i386.c (match_template): Handle XMMWORD_MNEM_SUFFIX.
693         Check memory size in Intel mode.
694         (process_suffix): Handle XMMWORD_MNEM_SUFFIX.
695         (intel_e09): Likewise.
696
697         * config/tc-i386.h (XMMWORD_MNEM_SUFFIX): New.
698
699 2008-01-02  Catherine Moore  <clm@codesourcery.com>
700
701         * config/tc-mips.c (mips_ip): Check operands on jalr instruction.
702
703 For older changes see ChangeLog-2007
704 \f
705 Local Variables:
706 mode: change-log
707 left-margin: 8
708 fill-column: 74
709 version-control: never
710 End: