MCPcopy Create free account
hub / github.com/capstone-engine/capstone / getSOImmTwoPartSecond

Function getSOImmTwoPartSecond

arch/ARM/ARMAddressingModes.h:224–232  ·  view source on GitHub ↗

getSOImmTwoPartSecond - If V is a value that satisfies isSOImmTwoPartVal, return the second chunk of it.

Source from the content-addressed store, hash-verified

222/// getSOImmTwoPartSecond - If V is a value that satisfies isSOImmTwoPartVal,
223/// return the second chunk of it.
224static inline unsigned getSOImmTwoPartSecond(unsigned V)
225{
226 // Mask out the first hunk.
227 V = rotr32(~255U, getSOImmValRotate(V)) & V;
228
229 // Take what's left.
230 //assert(V == (rotr32(255U, getSOImmValRotate(V)) & V));
231 return V;
232}
233
234/// getThumbImmValShift - Try to handle Imm with a 8-bit immediate followed
235/// by a left shift. Returns the shift amount to use.

Callers

nothing calls this directly

Calls 2

rotr32Function · 0.85
getSOImmValRotateFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…