OpenASIP  2.0
Classes | Variables
InstructionDictionary.cc File Reference
#include <vector>
#include <string>
#include <iostream>
#include <cmath>
#include <boost/format.hpp>
#include "CodeCompressor.hh"
#include "Program.hh"
#include "BinaryEncoding.hh"
#include "MoveSlot.hh"
#include "ImmediateSlotField.hh"
#include "ImmediateControlField.hh"
#include "InstructionBitVector.hh"
#include "NullInstruction.hh"
#include "AsciiImageWriter.hh"
#include "ProgrammabilityValidator.hh"
#include "ProgrammabilityValidatorResults.hh"
#include "Binary.hh"
#include "TPEFProgramFactory.hh"
#include "MapTools.hh"
#include "MathTools.hh"
Include dependency graph for InstructionDictionary.cc:

Go to the source code of this file.

Classes

class  InstructionDictionary
 

Variables

const string ENSURE_PROGRAMMABILITY = "ensure_programmability"
 
const string YES = "yes"
 

Detailed Description

Implementation of a simple dictionary compressor. Warning! This compressor works correctly only when there is one instruction per MAU in the final program image. That is, the MAU of the address space should be the same as the width of the compressed instructions or wider. Otherwise jump and call addresses are invalid in the code.

This compressor creates the dictionary on the level of whole instruction.

Author
Lasse Laasonen 2005 (lasse.laasonen-no.spam-tut.fi)
Otto Esko 2008 (otto.esko-no.spam-tut.fi)
Pekka Jääskeläinen 2009 (pekka.jaaskelainen-no.spam-tut.fi)
Note
rating: red

Definition in file InstructionDictionary.cc.

Variable Documentation

◆ ENSURE_PROGRAMMABILITY

const string ENSURE_PROGRAMMABILITY = "ensure_programmability"

Definition at line 72 of file InstructionDictionary.cc.

Referenced by InstructionDictionary::compress().

◆ YES

const string YES = "yes"

Definition at line 73 of file InstructionDictionary.cc.

Referenced by InstructionDictionary::compress().