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