* v850-opc.c (extract_v8): Rearrange to make it obvious this
[platform/upstream/binutils.git] / opcodes / ChangeLog
1 2012-02-27  Alan Modra  <amodra@gmail.com>
2
3         * v850-opc.c (extract_v8): Rearrange to make it obvious this
4         is the inverse of corresponding insert function.
5         (extract_d22, extract_u9, extract_r4): Likewise.
6         (extract_d9): Correct sign extension.
7         (extract_d16_15): Don't assume "long" is 32 bits, and don't
8         rely on implementation defined behaviour for shift right of
9         signed types.
10         (extract_d16_16, extract_d17_16, extract_i9): Likewise.
11         (extract_d23): Likewise, and correct mask.
12
13 2012-02-27  Alan Modra  <amodra@gmail.com>
14
15         * crx-dis.c (print_arg): Mask constant to 32 bits.
16         * crx-opc.c (cst4_map): Use int array.
17
18 2012-02-27  Alan Modra  <amodra@gmail.com>
19
20         * arc-dis.c (BITS): Don't use shifts to mask off bits.
21         (FIELDD): Sign extend with xor,sub.
22
23 2012-02-25  Walter Lee  <walt@tilera.com>
24
25         * tilegx-opc.c: Handle TILEGX_OPC_LD4S_TLS and TILEGX_OPC_LD_TLS.
26         * tilepro-opc.c: Handle TILEPRO_OPC_LW_TLS and
27         TILEPRO_OPC_LW_TLS_SN.
28
29 2012-02-21  H.J. Lu  <hongjiu.lu@intel.com>
30
31         * i386-opc.h (HLEPrefixNone): New.
32         (HLEPrefixLock): Likewise.
33         (HLEPrefixAny): Likewise.
34         (HLEPrefixRelease): Likewise.
35
36 2012-02-08  H.J. Lu  <hongjiu.lu@intel.com>
37
38         * i386-dis.c (HLE_Fixup1): New.
39         (HLE_Fixup2): Likewise.
40         (HLE_Fixup3): Likewise.
41         (Ebh1): Likewise.
42         (Evh1): Likewise.
43         (Ebh2): Likewise.
44         (Evh2): Likewise.
45         (Ebh3): Likewise.
46         (Evh3): Likewise.
47         (MOD_C6_REG_7): Likewise.
48         (MOD_C7_REG_7): Likewise.
49         (RM_C6_REG_7): Likewise.
50         (RM_C7_REG_7): Likewise.
51         (XACQUIRE_PREFIX): Likewise.
52         (XRELEASE_PREFIX): Likewise.
53         (dis386): Use Ebh1/Evh1 on add, adc, and, btc, btr, bts,
54         cmpxchg, dec, inc, neg, not, or, sbb, sub, xor and xadd. Use
55         Ebh2/Evh2 on xchg.  Use Ebh3/Evh3 on mov.
56         (reg_table): Use Ebh1/Evh1 on add, adc, and, dec, inc, neg,
57         not, or, sbb, sub and xor.  Use Ebh3/Evh3 on mov.  Use
58         MOD_C6_REG_7 and MOD_C7_REG_7.
59         (mod_table): Add MOD_C6_REG_7 and MOD_C7_REG_7.
60         (rm_table): Add RM_C6_REG_7 and RM_C7_REG_7.  Add xend and
61         xtest.
62         (prefix_name): Handle XACQUIRE_PREFIX and XRELEASE_PREFIX.
63         (CMPXCHG8B_Fixup): Handle HLE prefix on cmpxchg8b.
64
65         * i386-gen.c (cpu_flag_init): Add CPU_HLE_FLAGS and
66         CPU_RTM_FLAGS.
67         (cpu_flags): Add CpuHLE and CpuRTM.
68         (opcode_modifiers): Add HLEPrefixOk.
69
70         * i386-opc.h (CpuHLE): New.
71         (CpuRTM): Likewise.
72         (HLEPrefixOk): Likewise.
73         (i386_cpu_flags): Add cpuhle and cpurtm.
74         (i386_opcode_modifier): Add hleprefixok.
75
76         * i386-opc.tbl: Add HLEPrefixOk=3 to mov.  Add HLEPrefixOk to
77         add, adc, and, btc, btr, bts, cmpxchg, dec, inc, neg, not, or,
78         sbb, sub, xor and xadd.  Add HLEPrefixOk=2 to xchg with memory
79         operand.  Add xacquire, xrelease, xabort, xbegin, xend and
80         xtest.
81         * i386-init.h: Regenerated.
82         * i386-tbl.h: Likewise.
83
84 2012-01-24  DJ Delorie  <dj@redhat.com>
85
86         * rl78-decode.opc (rl78_decode_opcode): Add NOT1.
87         * rl78-decode.c: Regenerate.
88
89 2012-01-17  James Murray  <jsm@jsm-net.demon.co.uk>
90
91         PR binutils/10173
92         * cr16-dis.c (print_arg): Test symtab_size not num_symbols.
93
94 2012-01-17  Andreas Schwab  <schwab@linux-m68k.org>
95
96         * m68k-opc.c (m68k_opcodes): Fix entries for pmove with BADx/BACx
97         register and move them after pmove with PSR/PCSR register.
98
99 2012-01-13  H.J. Lu  <hongjiu.lu@intel.com>
100
101         * i386-dis.c (mod_table): Add vmfunc.
102
103         * i386-gen.c (cpu_flag_init): Add CPU_VMFUNC_FLAGS.
104         (cpu_flags): CpuVMFUNC.
105
106         * i386-opc.h (CpuVMFUNC): New.
107         (i386_cpu_flags): Add cpuvmfunc.
108
109         * i386-opc.tbl: Add vmfunc.
110         * i386-init.h: Regenerated.
111         * i386-tbl.h: Likewise.
112
113 For older changes see ChangeLog-2011
114 \f
115 Local Variables:
116 mode: change-log
117 left-margin: 8
118 fill-column: 74
119 version-control: never
120 End: