bitfields.isa (4090:08bd6439b907) bitfields.isa (7799:5d0f62927d75)
1// Copyright (c) 2006-2007 The Regents of The University of Michigan
2// All rights reserved.
3//
4// Redistribution and use in source and binary forms, with or without
5// modification, are permitted provided that the following conditions are
6// met: redistributions of source code must retain the above copyright
7// notice, this list of conditions and the following disclaimer;
8// redistributions in binary form must reproduce the above copyright

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

31////////////////////////////////////////////////////////////////////
32//
33// Bitfield definitions.
34//
35
36// Bitfields are shared liberally between instruction formats, so they are
37// simply defined alphabetically
38
1// Copyright (c) 2006-2007 The Regents of The University of Michigan
2// All rights reserved.
3//
4// Redistribution and use in source and binary forms, with or without
5// modification, are permitted provided that the following conditions are
6// met: redistributions of source code must retain the above copyright
7// notice, this list of conditions and the following disclaimer;
8// redistributions in binary form must reproduce the above copyright

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

31////////////////////////////////////////////////////////////////////
32//
33// Bitfield definitions.
34//
35
36// Bitfields are shared liberally between instruction formats, so they are
37// simply defined alphabetically
38
39def bitfield A <29>;
39def bitfield A <29>;
40def bitfield BPCC <21:20>; // for BPcc & FBPcc
41def bitfield FCMPCC <26:25>; // for FCMP & FCMPEa
42def bitfield FMOVCC <13:11>; // for FMOVcc
43def bitfield CC <12:11>; // for MOVcc & Tcc
44def bitfield MOVCC3 <18>; // also for MOVcc
40def bitfield BPCC <21:20>; // for BPcc & FBPcc
41def bitfield FCMPCC <26:25>; // for FCMP & FCMPEa
42def bitfield FMOVCC <13:11>; // for FMOVcc
43def bitfield CC <12:11>; // for MOVcc & Tcc
44def bitfield MOVCC3 <18>; // also for MOVcc
45def bitfield CMASK <6:4>;
46def bitfield COND2 <28:25>;
47def bitfield COND4 <17:14>;
48def bitfield D16HI <21:20>;
49def bitfield D16LO <13:0>;
50def bitfield DISP19 <18:0>;
51def bitfield DISP22 <21:0>;
52def bitfield DISP30 <29:0>;
53def bitfield FCN <29:25>;
54def bitfield I <13>;
55def bitfield IMM_ASI <12:5>;
56def bitfield IMM22 <21:0>;
45def bitfield CMASK <6:4>;
46def bitfield COND2 <28:25>;
47def bitfield COND4 <17:14>;
48def bitfield D16HI <21:20>;
49def bitfield D16LO <13:0>;
50def bitfield DISP19 <18:0>;
51def bitfield DISP22 <21:0>;
52def bitfield DISP30 <29:0>;
53def bitfield FCN <29:25>;
54def bitfield I <13>;
55def bitfield IMM_ASI <12:5>;
56def bitfield IMM22 <21:0>;
57def bitfield M5FUNC <15:7>;
57def bitfield M5FUNC <15:7>;
58def bitfield MMASK <3:0>;
59def bitfield OP <31:30>;
60def bitfield OP2 <24:22>;
61def bitfield OP3 <24:19>;
62def bitfield OPF <13:5>;
63def bitfield OPF_CC <13:11>;
64def bitfield OPF_LOW5 <9:5>;
65def bitfield OPF_LOW6 <10:5>;
66def bitfield P <19>;
67def bitfield RCOND2 <27:25>;
68def bitfield RCOND3 <12:10>;
69def bitfield RCOND4 <12:10>;
70def bitfield RD <29:25>;
71def bitfield RS1 <18:14>;
72def bitfield RS2 <4:0>;
73def bitfield SHCNT32 <4:0>;
74def bitfield SHCNT64 <5:0>;
75def bitfield SIMM10 <9:0>;
76def bitfield SIMM11 <10:0>;
77def bitfield SIMM13 <12:0>;
78def bitfield SW_TRAP <7:0>;
79def bitfield X <12>;
58def bitfield MMASK <3:0>;
59def bitfield OP <31:30>;
60def bitfield OP2 <24:22>;
61def bitfield OP3 <24:19>;
62def bitfield OPF <13:5>;
63def bitfield OPF_CC <13:11>;
64def bitfield OPF_LOW5 <9:5>;
65def bitfield OPF_LOW6 <10:5>;
66def bitfield P <19>;
67def bitfield RCOND2 <27:25>;
68def bitfield RCOND3 <12:10>;
69def bitfield RCOND4 <12:10>;
70def bitfield RD <29:25>;
71def bitfield RS1 <18:14>;
72def bitfield RS2 <4:0>;
73def bitfield SHCNT32 <4:0>;
74def bitfield SHCNT64 <5:0>;
75def bitfield SIMM10 <9:0>;
76def bitfield SIMM11 <10:0>;
77def bitfield SIMM13 <12:0>;
78def bitfield SW_TRAP <7:0>;
79def bitfield X <12>;
80
81// Extended bitfields which aren't part of the actual instruction.
82
80
81// Extended bitfields which aren't part of the actual instruction.
82
83def bitfield EXT_ASI <39:32>;
83def bitfield EXT_ASI <39:32>;