gem5  v21.0.1.0
Public Member Functions | Protected Attributes | List of all members
Compressor::FPC::FPCCompData Class Reference

#include <fpc.hh>

Inheritance diagram for Compressor::FPC::FPCCompData:
Compressor::DictionaryCompressor< T >::CompData

Public Member Functions

 FPCCompData (int zeroRunSizeBits)
 
 ~FPCCompData ()=default
 
void addEntry (std::unique_ptr< Pattern > pattern) override
 
- Public Member Functions inherited from Compressor::DictionaryCompressor< T >::CompData
 CompData ()
 
 ~CompData ()=default
 
virtual void addEntry (std::unique_ptr< Pattern >)
 Add a pattern entry to the list of patterns. More...
 

Protected Attributes

const int zeroRunSizeBits
 Number of bits of the zero run size bitfield. More...
 

Additional Inherited Members

- Public Attributes inherited from Compressor::DictionaryCompressor< T >::CompData
std::vector< std::unique_ptr< Pattern > > entries
 The patterns matched in the original line. More...
 

Detailed Description

Definition at line 132 of file fpc.hh.

Constructor & Destructor Documentation

◆ FPCCompData()

Compressor::FPC::FPCCompData::FPCCompData ( int  zeroRunSizeBits)

Definition at line 36 of file fpc.cc.

◆ ~FPCCompData()

Compressor::FPC::FPCCompData::~FPCCompData ( )
default

Member Function Documentation

◆ addEntry()

void Compressor::FPC::FPCCompData::addEntry ( std::unique_ptr< Pattern >  pattern)
override

Definition at line 42 of file fpc.cc.

References ArmISA::mask, Compressor::FPC::ZERO_RUN, and Compressor::FPC::zeroRunSizeBits.

Member Data Documentation

◆ zeroRunSizeBits

const int Compressor::FPC::FPCCompData::zeroRunSizeBits
protected

Number of bits of the zero run size bitfield.

If the size of the zero run reaches the maximum value, it is split into ZERO_RUN entries.

Definition at line 139 of file fpc.hh.


The documentation for this class was generated from the following files:

Generated on Tue Jun 22 2021 15:28:50 for gem5 by doxygen 1.8.17