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