OpenASIP
2.0
|
#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"
Go to the source code of this file.
Classes | |
class | InstructionDictionary |
Variables | |
const string | ENSURE_PROGRAMMABILITY = "ensure_programmability" |
const string | YES = "yes" |
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.
Definition in file InstructionDictionary.cc.
const string ENSURE_PROGRAMMABILITY = "ensure_programmability" |
Definition at line 72 of file InstructionDictionary.cc.
Referenced by InstructionDictionary::compress().
const string YES = "yes" |
Definition at line 73 of file InstructionDictionary.cc.
Referenced by InstructionDictionary::compress().