Skip to content

Commit

Permalink
Fixup binaryEncodings on AArch64 and RISC-V
Browse files Browse the repository at this point in the history
  • Loading branch information
fjeremic committed May 13, 2021
1 parent 4dd0b66 commit b224aa3
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
9 changes: 8 additions & 1 deletion compiler/aarch64/codegen/OpBinary.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,14 @@ const OMR::ARM64::InstOpCode::OpCodeBinaryEntry OMR::ARM64::InstOpCode::binaryEn
{
// BINARY Opcode Opcode comments
/* UNALLOCATED */
0x00000000, /* BAD bad invalid operation */
0x00000000, /* Register Association */
0x00000000, /* Bad Opcode */
0x00000000, /* Define Doubleword */
0x00000000, /* Fence */
0x00000000, /* Destination of a jump */
0x00000000, /* Entry to the method */
0x00000000, /* Return */
0x00000000, /* Virtual Guard NOP */
/* Branch,exception generation and system Instruction */
/* Compare _ Branch (immediate) */
0x34000000, /* CBZ cbzw */
Expand Down
9 changes: 8 additions & 1 deletion compiler/riscv/codegen/OpBinary.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,14 @@ const OMR::RV::InstOpCode::OpCodeBinaryEntry OMR::RV::InstOpCode::binaryEncoding
{
// BINARY Opcode Opcode comments
/* UNALLOCATED */
0x00000000, /* BAD bad invalid operation */
0x00000000, /* Register Association */
0x00000000, /* Bad Opcode */
0x00000000, /* Define Doubleword */
0x00000000, /* Fence */
0x00000000, /* Destination of a jump */
0x00000000, /* Entry to the method */
0x00000000, /* Return */
0x00000000, /* Virtual Guard NOP */
/*
* RISC-V instructions
*/
Expand Down

0 comments on commit b224aa3

Please sign in to comment.