gem5  v22.0.0.1
Macros
bitfields.hh File Reference
#include "base/bitfield.hh"

Go to the source code of this file.

Macros

#define CSRIMM   bits(machInst, 19, 15)
 
#define FUNCT12   bits(machInst, 31, 20)
 
#define IMM5   bits(machInst, 11, 7)
 
#define IMM7   bits(machInst, 31, 25)
 
#define IMMSIGN   bits(machInst, 31)
 
#define OPCODE   bits(machInst, 6, 0)
 
#define AQ   bits(machInst, 26)
 
#define RD   bits(machInst, 11, 7)
 
#define RL   bits(machInst, 25)
 
#define RS1   bits(machInst, 19, 15)
 
#define RS2   bits(machInst, 24, 20)
 

Macro Definition Documentation

◆ AQ

#define AQ   bits(machInst, 26)

Definition at line 13 of file bitfields.hh.

◆ CSRIMM

#define CSRIMM   bits(machInst, 19, 15)

Definition at line 6 of file bitfields.hh.

◆ FUNCT12

#define FUNCT12   bits(machInst, 31, 20)

Definition at line 7 of file bitfields.hh.

◆ IMM5

#define IMM5   bits(machInst, 11, 7)

Definition at line 8 of file bitfields.hh.

◆ IMM7

#define IMM7   bits(machInst, 31, 25)

Definition at line 9 of file bitfields.hh.

◆ IMMSIGN

#define IMMSIGN   bits(machInst, 31)

Definition at line 10 of file bitfields.hh.

◆ OPCODE

#define OPCODE   bits(machInst, 6, 0)

Definition at line 11 of file bitfields.hh.

◆ RD

#define RD   bits(machInst, 11, 7)

Definition at line 14 of file bitfields.hh.

◆ RL

#define RL   bits(machInst, 25)

Definition at line 15 of file bitfields.hh.

◆ RS1

#define RS1   bits(machInst, 19, 15)

Definition at line 16 of file bitfields.hh.

◆ RS2

#define RS2   bits(machInst, 24, 20)

Definition at line 17 of file bitfields.hh.


Generated on Sat Jun 18 2022 08:12:45 for gem5 by doxygen 1.8.17