View source code
Display the source code in dmd/backend/arm/instr.d from which this page was generated on github.
Report a bug
If you spot a problem with this page, click here to create a Bugzilla issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page. Requires a signed-in GitHub account. This works well for small changes. If you'd like to make larger changes you may want to consider using local clone.

Function dmd.backend.arm.instr.encodeNImmrImms

Encode bit mask

bool encodeNImmrImms (
  ulong value,
  out uint N,
  out uint immr,
  out uint imms
) nothrow @safe;

Parameters

NameDescription
bitmask mask to encode
N set to N bit
immr set to immr value
imms set to imms value

Returns

true = success false = failure

References

* https://www.scs.stanford.edu/~zyedidia/arm64/shared_pseudocode.html#impl-aarch64.DecodeBitMasks.5

Authors

Walter Bright

License

Boost License 1.0