mirror of
https://github.com/capstone-engine/capstone.git
synced 2024-11-26 23:10:32 +00:00
chore: fix some comments (#2432)
Signed-off-by: luozexuan <fetchcode@139.com>
This commit is contained in:
parent
d713dda315
commit
edbcf9e017
@ -108,7 +108,7 @@ public:
|
||||
static ConstantInt *get(IntegerType *Ty, uint64_t V, bool IsSigned = false);
|
||||
|
||||
/// Return a ConstantInt with the specified value for the specified type. The
|
||||
/// value V will be canonicalized to a an unsigned APInt. Accessing it with
|
||||
/// value V will be canonicalized to an unsigned APInt. Accessing it with
|
||||
/// either getSExtValue() or getZExtValue() will yield a correctly sized and
|
||||
/// signed value for the type Ty.
|
||||
/// Get a ConstantInt for a specific signed value.
|
||||
|
@ -51,7 +51,7 @@ def G_SEXT : GenericInstruction {
|
||||
let hasSideEffects = false;
|
||||
}
|
||||
|
||||
// Sign extend the a value from an arbitrary bit position, copying the sign bit
|
||||
// Sign extend the value from an arbitrary bit position, copying the sign bit
|
||||
// into all bits above it. This is equivalent to a shl + ashr pair with an
|
||||
// appropriate shift amount. $sz is an immediate (MachineOperand::isImm()
|
||||
// returns true) to allow targets to have some bitwidths legal and others
|
||||
|
Loading…
Reference in New Issue
Block a user