2008-01-24 H.J. Lu <hongjiu.lu@intel.com>
[platform/upstream/binutils.git] / gas / ChangeLog
1 2008-01-24  H.J. Lu  <hongjiu.lu@intel.com>
2
3         * NEWS: Mention new command line options for x86 targets.
4
5 2008-01-23  H.J. Lu  <hongjiu.lu@intel.com>
6
7         * config/tc-i386.c (md_show_usage): Replace tabs with spaces.
8
9 2008-01-23  Eric B. Weddington  <eric.weddington@atmel.com>
10
11         * config/tc-avr.c (mcu_types): Change opcode set for at86rf401.
12
13 2008-01-23  H.J. Lu  <hongjiu.lu@intel.com>
14
15         * config/tc-i386.c (md_show_usage): Show more processors for
16         -march=/-mtune=.
17
18 2008-01-22  H.J. Lu  <hongjiu.lu@intel.com>
19
20         * config/tc-i386.c (i386_target_format): Remove cpummx2.
21
22 2008-01-22  H.J. Lu  <hongjiu.lu@intel.com>
23
24         * config/tc-i386.c (XXX_PREFIX): Moved from tc-i386.h.
25         (XXX_MNEM_SUFFIX): Likewise.
26         (END_OF_INSN): Likewise.
27         (templates): Likewise.
28         (modrm_byte): Likewise.
29         (rex_byte): Likewise.
30         (DREX_XXX): Likewise.
31         (drex_byte): Likewise.
32         (sib_byte): Likewise.
33         (processor_type): Likewise.
34         (arch_entry): Likewise.
35         (cpu_sub_arch_name): Remove const.
36         (cpu_arch): Add .vmx and .smx.
37         (set_cpu_arch): Append cpu_sub_arch_name.
38         (md_parse_option): Support -march=CPU[,+EXTENSION...].
39         (md_show_usage): Updated.
40
41         * config/tc-i386.h (XXX_PREFIX): Moved to tc-i386.c.
42         (XXX_MNEM_SUFFIX): Likewise.
43         (END_OF_INSN): Likewise.
44         (templates): Likewise.
45         (modrm_byte): Likewise.
46         (rex_byte): Likewise.
47         (DREX_XXX): Likewise.
48         (drex_byte): Likewise.
49         (sib_byte): Likewise.
50         (processor_type): Likewise.
51         (arch_entry): Likewise.
52
53         * doc/as.texinfo: Update i386 -march option.
54
55         * doc/c-i386.texi: Update -march= for ISA.
56
57 2008-01-18  Bob Wilson  <bob.wilson@acm.org>
58         
59         * config/tc-xtensa.c (xtensa_leb128): New function.
60         (md_pseudo_table): Use it for sleb128 and uleb128.
61         (is_leb128_expr): New internal flag.
62         (xtensa_symbol_new_hook): Check new flag.
63         
64 2008-01-16  Eric B. Weddington  <eric.weddington@atmel.com>
65
66         * config/tc-avr.c (mcu_types): Change opcode set for avr3,
67         at90usb82, at90usb162.
68         * doc/c-avr.texi: Change architecture grouping for at90usb82, 
69         at90usb162.
70         These changes support the new avr35 architecture group in gcc.
71
72 2008-01-15  H.J. Lu  <hongjiu.lu@intel.com>
73
74         * config/tc-i386.c (md_assemble): Also zap movzx and movsx
75         suffix for AT&T syntax.
76
77 2008-01-14  H.J. Lu  <hongjiu.lu@intel.com>
78
79         * config/tc-i386.c (match_reg_size): New.
80         (match_mem_size): Likewise.
81         (operand_size_match): Likewise.
82         (operand_type_match): Also clear all size fields.
83         (match_template): Skip Intel syntax when in AT&T syntax.
84         Call operand_size_match to check operand size.
85         (i386_att_operand): Set the mem field to 1 for memory
86         operand.
87         (i386_intel_operand): Likewise.
88
89 2008-01-12  H.J. Lu  <hongjiu.lu@intel.com>
90
91         PR gas/5534
92         * config/tc-i386.c (_i386_insn): Update comment.
93         (operand_type_match): Also clear unspecified.
94         (operand_type_register_match): Likewise.
95         (parse_operands): Initialize unspecified.
96         (i386_intel_operand): Likewise.
97         (match_template): Check memory and accumulator operand size.
98         (i386_att_operand): Clear unspecified on register operand.
99         (intel_e11): Likewise.
100         (intel_e09): Set operand size and clean unspecified for
101         "XXX PTR".
102
103 2008-01-11  Andreas Schwab  <schwab@suse.de>
104
105         * read.c (s_space): Declare `repeat' as offsetT.
106
107 2008-01-10  H.J. Lu  <hongjiu.lu@intel.com>
108
109         * config/tc-i386.c (match_template): Check processor support
110         first.
111
112 2008-01-10  H.J. Lu  <hongjiu.lu@intel.com>
113
114         * config/tc-i386.c (match_template): Continue if processor
115         doesn't match.
116
117 2008-01-09  Alexandre Oliva  <aoliva@redhat.com>
118
119         * config/tc-ia64.c (ia64_convert_frag): Zero-initialize room for
120         unwind personality function address.
121
122 2008-01-09  Bob Wilson  <bob.wilson@acm.org>
123         
124         * dwarf2dbg.c (out_sleb128): Delete.
125         (size_fixed_inc_line_addr, emit_fixed_inc_line_addr): New.
126         (out_fixed_inc_line_addr): Delete.
127         (relax_inc_line_addr, dwarf2dbg_estimate_size_before_relax): Call new
128         size_fixed_inc_line_addr if DWARF2_USE_FIXED_ADVANCE_PC is set.
129         (dwarf2dbg_convert_frag): Likewise for emit_fixed_inc_line_addr.
130         (process_entries): Remove calls to out_fixed_inc_line_addr.  When
131         DWARF2_USE_FIXED_ADVANCE_PC is set, call relax_inc_line_addr.
132         * read.h (emit_expr_fix): New prototype.
133         * read.c (emit_expr): Move code to emit_expr_fix and use it here.
134         (emit_expr_fix): New.
135         
136 2008-01-09  H.J. Lu  <hongjiu.lu@intel.com>
137
138         * config/tc-i386.c (match_template): Check register size
139         only when size of operands can be encoded the canonical way.
140
141 2008-01-08  H.J. Lu  <hongjiu.lu@intel.com>
142
143         * config/tc-i386.c (i386_operand): Renamed to ...
144         (i386_att_operand): This.
145         (parse_operands): Updated.
146
147 2008-01-05  H.J. Lu  <hongjiu.lu@intel.com>
148
149         * doc/c-i386.texi: Update .att_mnemonic and .intel_mnemonic.
150
151         * config/tc-i386.c (set_intel_mnemonic): Set intel_mnemonic
152         only.
153         (md_assemble): Remove Intel mode workaround.
154         (match_template): Check support for old gcc, AT&T mnemonic
155         and Intel Syntax.
156         (md_parse_option): Don't set intel_mnemonic to 0 for
157         OPTION_MOLD_GCC.
158
159 2008-01-04  H.J. Lu  <hongjiu.lu@intel.com>
160
161         * config/tc-i386.h: Update copyright to 2008.
162
163 2008-01-04  Nick Clifton  <nickc@redhat.com>
164
165         * config/tc-ppc.c (parse_cpu): Preserve the settings of the
166         PPC_OPCODE_ALTIVEC and PPC_OPCODE_SPE flags.
167
168 2008-01-03  H.J. Lu  <hongjiu.lu@intel.com>
169
170         * config/tc-i386.c (md_assemble): Use !intel_mnemonic instead
171         of SYSV386_COMPAT.
172
173 2008-01-03  H.J. Lu  <hongjiu.lu@intel.com>
174
175         * gas/config/tc-i386.c (cpu_arch_flags_not): Removed.
176         (cpu_flags_not): Likewise.
177         (cpu_flags_match): Updated to check 64bit and arch.
178         (set_code_flag): Remove cpu_arch_flags_not.
179         (set_16bit_gcc_code_flag): Likewise.
180         (set_cpu_arch): Likewise.
181         (md_begin): Likewise.
182         (parse_insn): Call cpu_flags_match to check 64bit and arch.
183         (match_template): Likewise.
184
185 2008-01-03  Jakub Jelinek  <jakub@redhat.com>
186
187         * config/tc-i386.c (process_drex): Initialize modrm_reg and
188         modrm_regmem to 0 instead of None.
189
190 2008-01-03  H.J. Lu  <hongjiu.lu@intel.com>
191
192         * config/tc-i386.c (match_template): Use the xmmword field
193         instead of no_xsuf.
194
195 2008-01-02  H.J. Lu  <hongjiu.lu@intel.com>
196
197         * config/tc-i386.c (process_suffix): Fix a typo.
198
199 2008-01-02  H.J. Lu  <hongjiu.lu@intel.com>
200
201         PR gas/5534
202         * config/tc-i386.c (match_template): Handle XMMWORD_MNEM_SUFFIX.
203         Check memory size in Intel mode.
204         (process_suffix): Handle XMMWORD_MNEM_SUFFIX.
205         (intel_e09): Likewise.
206
207         * config/tc-i386.h (XMMWORD_MNEM_SUFFIX): New.
208
209 2008-01-02  Catherine Moore  <clm@codesourcery.com>
210
211         * config/tc-mips.c (mips_ip): Check operands on jalr instruction.
212
213 For older changes see ChangeLog-2007
214 \f
215 Local Variables:
216 mode: change-log
217 left-margin: 8
218 fill-column: 74
219 version-control: never
220 End: