bitfields.isa revision 2475
1////////////////////////////////////////////////////////////////////
2//
3// Bitfield definitions.
4//
5
6// Bitfields are shared liberally between instruction formats, so they are
7// simply defined alphabetically
8
9def bitfield A		<29>;
10def bitfield CC02	<20>;
11def bitfield CC03	<25>;
12def bitfield CC04	<11>;
13def bitfield CC12	<21>;
14def bitfield CC13	<26>;
15def bitfield CC14	<12>;
16def bitfield CC2	<18>;
17def bitfield CMASK	<6:4>;
18def bitfield COND2	<28:25>;
19def bitfield COND4	<17:14>;
20def bitfield D16HI	<21:20>;
21def bitfield D16LO	<13:0>;
22def bitfield DISP19	<18:0>;
23def bitfield DISP22	<21:0>;
24def bitfield DISP30	<29:0>;
25def bitfield FCN	<29:26>;
26def bitfield I		<13>;
27def bitfield IMM_ASI	<12:5>;
28def bitfield IMM22	<21:0>;
29def bitfield MMASK	<3:0>;
30def bitfield OP		<31:30>;
31def bitfield OP2	<24:22>;
32def bitfield OP3	<24:19>;
33def bitfield OPF	<13:5>;
34def bitfield OPF_CC	<13:11>;
35def bitfield OPF_LOW5	<9:5>;
36def bitfield OPF_LOW6	<10:5>;
37def bitfield P		<19>;
38def bitfield RCOND2	<27:25>;
39def bitfield RCOND3	<12:10>;
40def bitfield RCOND4	<12:10>;
41def bitfield RD		<29:25>;
42def bitfield RS1	<18:14>;
43def bitfield RS2	<4:0>;
44def bitfield SHCNT32	<4:0>;
45def bitfield SHCNT64	<5:0>;
46def bitfield SIMM10	<9:0>;
47def bitfield SIMM11	<10:0>;
48def bitfield SIMM13	<12:0>;
49def bitfield SW_TRAP	<7:0>;
50def bitfield X		<12>;
51