bitfields.isa (7103:844dbc22e3cb) bitfields.isa (7105:bec31317707b)
1// -*- mode:c++ -*-
2
3// Copyright (c) 2010 ARM Limited
4// All rights reserved
5//
6// The license below extends only to copyright in the software and shall
7// not be construed as granting a license to any other intellectual
8// property including but not limited to intellectual property relating

--- 37 unchanged lines hidden (view full) ---

46//
47
48// Opcode fields
49def bitfield ENCODING encoding;
50def bitfield OPCODE opcode;
51def bitfield MEDIA_OPCODE mediaOpcode;
52def bitfield MEDIA_OPCODE2 mediaOpcode2;
53def bitfield USEIMM useImm;
1// -*- mode:c++ -*-
2
3// Copyright (c) 2010 ARM Limited
4// All rights reserved
5//
6// The license below extends only to copyright in the software and shall
7// not be construed as granting a license to any other intellectual
8// property including but not limited to intellectual property relating

--- 37 unchanged lines hidden (view full) ---

46//
47
48// Opcode fields
49def bitfield ENCODING encoding;
50def bitfield OPCODE opcode;
51def bitfield MEDIA_OPCODE mediaOpcode;
52def bitfield MEDIA_OPCODE2 mediaOpcode2;
53def bitfield USEIMM useImm;
54def bitfield OPCODE_24 opcode24;
54def bitfield OPCODE_24 opcode24;
55def bitfield OPCODE_23_20 opcode23_20;
56def bitfield OPCODE_23_21 opcode23_21;
57def bitfield OPCODE_22 opcode22;
55def bitfield OPCODE_23_20 opcode23_20;
56def bitfield OPCODE_23_21 opcode23_21;
57def bitfield OPCODE_22 opcode22;
58def bitfield OPCODE_20 opcode20;
59def bitfield OPCODE_19 opcode19;
60def bitfield OPCODE_18 opcode18;
58def bitfield OPCODE_20 opcode20;
59def bitfield OPCODE_19_16 opcode19_16;
60def bitfield OPCODE_19 opcode19;
61def bitfield OPCODE_18 opcode18;
61def bitfield OPCODE_15_12 opcode15_12;
62def bitfield OPCODE_15_12 opcode15_12;
62def bitfield OPCODE_15 opcode15;
63def bitfield OPCODE_15 opcode15;
63def bitfield MISC_OPCODE miscOpcode;
64def bitfield OPC2 opc2;
65def bitfield OPCODE_7 opcode7;
64def bitfield MISC_OPCODE miscOpcode;
65def bitfield OPC2 opc2;
66def bitfield OPCODE_7 opcode7;
67def bitfield OPCODE_6 opcode6;
66def bitfield OPCODE_4 opcode4;
67
68def bitfield IS_MISC isMisc;
69def bitfield SEVEN_AND_FOUR sevenAndFour;
70
71def bitfield THUMB thumb;
72def bitfield BIGTHUMB bigThumb;
73

--- 21 unchanged lines hidden (view full) ---

95
96def bitfield IMMED_11_0 immed11_0;
97
98def bitfield IMMED_HI_11_8 immedHi11_8;
99def bitfield IMMED_LO_3_0 immedLo3_0;
100
101def bitfield IMMED_23_0 immed23_0;
102
68def bitfield OPCODE_4 opcode4;
69
70def bitfield IS_MISC isMisc;
71def bitfield SEVEN_AND_FOUR sevenAndFour;
72
73def bitfield THUMB thumb;
74def bitfield BIGTHUMB bigThumb;
75

--- 21 unchanged lines hidden (view full) ---

97
98def bitfield IMMED_11_0 immed11_0;
99
100def bitfield IMMED_HI_11_8 immedHi11_8;
101def bitfield IMMED_LO_3_0 immedLo3_0;
102
103def bitfield IMMED_23_0 immed23_0;
104
103def bitfield CPNUM cpNum;
105def bitfield CPNUM cpNum;
104// Note that FP Regs are only 3 bits
106// Note that FP Regs are only 3 bits
105def bitfield FN fn;
106def bitfield FD fd;
107def bitfield FPREGIMM fpRegImm;
107def bitfield FN fn;
108def bitfield FD fd;
109def bitfield FPREGIMM fpRegImm;
108// We can just use 3:0 for FM since the hard-wired FP regs are handled in
109// float_regfile.hh
110// We can just use 3:0 for FM since the hard-wired FP regs are handled in
111// float_regfile.hh
110def bitfield FM fm;
111def bitfield FPIMM fpImm;
112def bitfield PUNWL punwl;
112def bitfield FM fm;
113def bitfield FPIMM fpImm;
114def bitfield PUNWL punwl;
113
114// M5 instructions
115def bitfield M5FUNC m5Func;
116
117// Thumb bitfields
118def bitfield TOPCODE_15_13 topcode15_13;
119def bitfield TOPCODE_13_11 topcode13_11;
120def bitfield TOPCODE_12_11 topcode12_11;
121def bitfield TOPCODE_12_10 topcode12_10;
122def bitfield TOPCODE_11_9 topcode11_9;
123def bitfield TOPCODE_11_8 topcode11_8;
124def bitfield TOPCODE_10_9 topcode10_9;
125def bitfield TOPCODE_10_8 topcode10_8;
126def bitfield TOPCODE_9_6 topcode9_6;
127def bitfield TOPCODE_7 topcode7;
128def bitfield TOPCODE_7_6 topcode7_6;
129def bitfield TOPCODE_7_5 topcode7_5;
130def bitfield TOPCODE_7_4 topcode7_4;
131def bitfield TOPCODE_3_0 topcode3_0;
115
116// M5 instructions
117def bitfield M5FUNC m5Func;
118
119// Thumb bitfields
120def bitfield TOPCODE_15_13 topcode15_13;
121def bitfield TOPCODE_13_11 topcode13_11;
122def bitfield TOPCODE_12_11 topcode12_11;
123def bitfield TOPCODE_12_10 topcode12_10;
124def bitfield TOPCODE_11_9 topcode11_9;
125def bitfield TOPCODE_11_8 topcode11_8;
126def bitfield TOPCODE_10_9 topcode10_9;
127def bitfield TOPCODE_10_8 topcode10_8;
128def bitfield TOPCODE_9_6 topcode9_6;
129def bitfield TOPCODE_7 topcode7;
130def bitfield TOPCODE_7_6 topcode7_6;
131def bitfield TOPCODE_7_5 topcode7_5;
132def bitfield TOPCODE_7_4 topcode7_4;
133def bitfield TOPCODE_3_0 topcode3_0;