bitfields.isa (12119:e9ef3ee3171d) | bitfields.isa (12120:133620bfc43b) |
---|---|
1// -*- mode:c++ -*- 2 3// Copyright (c) 2015 RISC-V Foundation 4// Copyright (c) 2016 The University of Virginia 5// All rights reserved. 6// 7// Redistribution and use in source and binary forms, with or without 8// modification, are permitted provided that the following conditions are --- 21 unchanged lines hidden (view full) --- 30// Authors: Maxwell Walter 31// Alec Roelke 32 33//////////////////////////////////////////////////////////////////// 34// 35// Bitfield definitions. 36// 37 | 1// -*- mode:c++ -*- 2 3// Copyright (c) 2015 RISC-V Foundation 4// Copyright (c) 2016 The University of Virginia 5// All rights reserved. 6// 7// Redistribution and use in source and binary forms, with or without 8// modification, are permitted provided that the following conditions are --- 21 unchanged lines hidden (view full) --- 30// Authors: Maxwell Walter 31// Alec Roelke 32 33//////////////////////////////////////////////////////////////////// 34// 35// Bitfield definitions. 36// 37 |
38def bitfield OPCODE <6:0>; 39def bitfield NONOPCODE <31:7>; | 38def bitfield QUADRANT <1:0>; 39def bitfield OPCODE <6:2>; |
40 41// R-Type 42def bitfield ALL <31:0>; 43def bitfield RD <11:7>; 44def bitfield FUNCT3 <14:12>; 45def bitfield RS1 <19:15>; 46def bitfield RS2 <24:20>; 47def bitfield FUNCT7 <31:25>; --- 16 unchanged lines hidden (view full) --- 64// SB-Type 65def bitfield BIMM12BIT11 <7>; 66def bitfield BIMM12BITS4TO1<11:8>; 67def bitfield IMMSIGN <31>; 68def bitfield BIMM12BITS10TO5 <30:25>; 69 70// UJ-Type 71def bitfield UJIMMBITS10TO1 <30:21>; | 40 41// R-Type 42def bitfield ALL <31:0>; 43def bitfield RD <11:7>; 44def bitfield FUNCT3 <14:12>; 45def bitfield RS1 <19:15>; 46def bitfield RS2 <24:20>; 47def bitfield FUNCT7 <31:25>; --- 16 unchanged lines hidden (view full) --- 64// SB-Type 65def bitfield BIMM12BIT11 <7>; 66def bitfield BIMM12BITS4TO1<11:8>; 67def bitfield IMMSIGN <31>; 68def bitfield BIMM12BITS10TO5 <30:25>; 69 70// UJ-Type 71def bitfield UJIMMBITS10TO1 <30:21>; |
72def bitfield UJIMMBIT11 <20>; | 72def bitfield UJIMMBIT11 <20>; |
73def bitfield UJIMMBITS19TO12 <19:12>; 74 75// System 76def bitfield FUNCT12 <31:20>; 77def bitfield CSRIMM <19:15>; 78 79// Floating point 80def bitfield FD <11:7>; --- 4 unchanged lines hidden (view full) --- 85def bitfield ROUND_MODE <14:12>; 86def bitfield CONV_SGN <24:20>; 87def bitfield FUNCT2 <26:25>; 88 89// AMO 90def bitfield AMOFUNCT <31:27>; 91def bitfield AQ <26>; 92def bitfield RL <25>; | 73def bitfield UJIMMBITS19TO12 <19:12>; 74 75// System 76def bitfield FUNCT12 <31:20>; 77def bitfield CSRIMM <19:15>; 78 79// Floating point 80def bitfield FD <11:7>; --- 4 unchanged lines hidden (view full) --- 85def bitfield ROUND_MODE <14:12>; 86def bitfield CONV_SGN <24:20>; 87def bitfield FUNCT2 <26:25>; 88 89// AMO 90def bitfield AMOFUNCT <31:27>; 91def bitfield AQ <26>; 92def bitfield RL <25>; |
93 94// Compressed 95def bitfield COPCODE <15:13>; 96def bitfield CFUNCT1 <12>; 97def bitfield CFUNCT2HIGH <11:10>; 98def bitfield CFUNCT2LOW <6:5>; 99def bitfield RC1 <11:7>; 100def bitfield RC2 <6:2>; 101def bitfield RP1 <9:7>; 102def bitfield RP2 <4:2>; 103def bitfield FC1 <11:7>; 104def bitfield FC2 <6:2>; 105def bitfield FP2 <4:2>; 106def bitfield CJUMPIMM <12:2>; 107def bitfield CIMM8 <12:5>; 108def bitfield CIMM6 <12:7>; 109def bitfield CIMM5 <6:2>; 110def bitfield CIMM3 <12:10>; 111def bitfield CIMM2 <6:5>; 112def bitfield CIMM1 <12>; |
|