Skip to content

Commit

Permalink
Change BC to an RX-a instruction format
Browse files Browse the repository at this point in the history
Technically this is an RX-b instruction however we currently do not
have a proper class for such instructions and we generate the `BC`
instruction as part of z/OS linkage in which we use a real register to
generate the mask. Assertions later on prevent us from doing this if
the `BC` instruction is properly marked as an RX-a instruction.

Signed-off-by: Filip Jeremic <[email protected]>
  • Loading branch information
fjeremic committed May 24, 2019
1 parent 707861c commit a6c0e45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/z/codegen/OMRInstOpCodeProperties.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1033,7 +1033,7 @@
/* .description = */ "BRANCH ON CONDITION",
/* .opcode[0] = */ 0x47,
/* .opcode[1] = */ 0x00,
/* .format = */ RXb_FORMAT,
/* .format = */ RXa_FORMAT,
/* .minimumALS = */ CPU::Architecture::z900,
/* .properties = */ S390OpProp_BranchOp |
S390OpProp_ReadsCC |
Expand Down

0 comments on commit a6c0e45

Please sign in to comment.