Skip to content

Commit

Permalink
Add ISA enums for PPC64, ARM64, MIPS32, MIPS64
Browse files Browse the repository at this point in the history
  • Loading branch information
Suan Yong authored and eschulte committed Apr 15, 2020
1 parent b91cce4 commit f21cc34
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 4 deletions.
14 changes: 11 additions & 3 deletions include/gtirb/Module.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,17 @@ enum class ISA : uint8_t {
X64 = proto::X64, ///< The generic name for the 64-bit
///< extensions to both Intel's and AMD's 32-bit
///< x86 instruction set architecture (ISA).
ARM = proto::ARM, ///< Advanced RISC Machine. also known as Acorn RISC
///< Machine.
ValidButUnsupported = proto::ValidButUnsupported
ARM = proto::ARM, ///< Advanced RISC Machine, also known as Acorn RISC
///< Machine, 32-bit.
ValidButUnsupported = proto::ValidButUnsupported,
PPC64 = proto::PPC64, ///< Performance Optimization With Enhanced RISC –
///< Performance Computing, 64-bit.
ARM64 = proto::ARM64, ///< Advanced RISC Machine, also known as Acorn RISC
///< Machine, 64-bit.
MIPS32 = proto::MIPS32, ///< Microprocessor without Interlocked Pipelined
///< Stages, 32-bit.
MIPS64 = proto::MIPS64 ///< Microprocessor without Interlocked Pipelined
///< Stages, 64-bit.
};

/// \class Module
Expand Down
4 changes: 4 additions & 0 deletions proto/Module.proto
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ enum ISA {
X64 = 3;
ARM = 4;
ValidButUnsupported = 5;
PPC64 = 6;
ARM64 = 7;
MIPS32 = 8;
MIPS64 = 9;
};

message Module {
Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION_MAJOR 1
VERSION_MINOR 3
VERSION_MINOR 4
VERSION_PATCH 1
VERSION_PROTOBUF 1

0 comments on commit f21cc34

Please sign in to comment.