Details
-
Bug
-
Resolution: Fixed
-
P4
-
8, 11, 16
-
b07
-
generic
-
generic
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8258410 | 11.0.11-oracle | Fairoz Matte | P4 | Resolved | Fixed | b01 |
JDK-8258990 | 11.0.11 | Patric Hedlin | P4 | Resolved | Fixed | b01 |
JDK-8270379 | openjdk8u312 | Patric Hedlin | P4 | Resolved | Fixed | b01 |
JDK-8258667 | 8u291 | Fairoz Matte | P4 | Resolved | Fixed | b01 |
JDK-8262564 | emb-8u291 | Fairoz Matte | P4 | Resolved | Fixed | team |
Description
static int min_simm(int nbits) { return -(intptr_t(1) << (nbits - 1)) ; }
static int max_simm(int nbits) { return (intptr_t(1) << (nbits - 1)) - 1; }
// Test if x is within signed immediate range for nbits
static bool is_simm(intptr_t x, int nbits) { return min_simm(nbits) <= x && x <= max_simm(nbits); }
The max/min_simm* versions are unused (with one exception).
Unsigned version is not provided.
Attachments
Issue Links
- backported by
-
JDK-8258410 Signed immediate support in .../share/assembler.hpp is broken.
-
- Resolved
-
-
JDK-8258667 Signed immediate support in .../share/assembler.hpp is broken.
-
- Resolved
-
-
JDK-8258990 Signed immediate support in .../share/assembler.hpp is broken.
-
- Resolved
-
-
JDK-8262564 Signed immediate support in .../share/assembler.hpp is broken.
-
- Resolved
-
-
JDK-8270379 Signed immediate support in .../share/assembler.hpp is broken.
-
- Resolved
-
- relates to
-
JDK-8272214 [8u] Build failure after backport of JDK-8248901
-
- Resolved
-
-
JDK-8247766 AArch64: guarantee(val < (1U << nbits)) failed: Field too big for insn
-
- Resolved
-