The complex selection pattern for add/sub shifted immediates is
incorrect in it's handling of incoming constant values, in that it
does not properly anticipate the values to be signed extended to
32-bits.
Co-authored-by: Graham Hunter <graham.hunter@arm.com>
clang-format: please reformat the code
- } else if (((ImmVal & 0xFF) == 0) && - ((int32_t)ImmVal >= -32768) && - ((int32_t)ImmVal <= 32512)) { + } else if (((ImmVal & 0xFF) == 0) && ((int32_t)ImmVal >= -32768) && + ((int32_t)ImmVal <= 32512)) {