public static class AArch64Assembler.LogicalBitmaskImmediateEncoding extends Object
| Constructor and Description |
|---|
LogicalBitmaskImmediateEncoding() |
| Modifier and Type | Method and Description |
|---|---|
protected static boolean |
canEncode(boolean is64bit,
long immediate)
Tests whether an immediate can be encoded for logical instructions.
|
static int |
getEncoding(boolean is64bit,
long value)
Returns the immediate bitmask encoding for the requested value.
|
protected static boolean canEncode(boolean is64bit,
long immediate)
is64bit - if true immediate part of a 64-bit instruction, false if part of a 32-bit
instruction.public static int getEncoding(boolean is64bit,
long value)