mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 11:34:38 +02:00
7029017: Additional architecture support for c2 compiler
Enables cross building of a c2 VM. Support masking of shift counts when the processor architecture mandates it. Reviewed-by: kvn, never
This commit is contained in:
parent
9cc2cbba4b
commit
4171ca786e
13 changed files with 77 additions and 4 deletions
|
@ -427,6 +427,11 @@ public:
|
|||
// Do ints take an entire long register or just half?
|
||||
static const bool int_in_long;
|
||||
|
||||
// Do the processor's shift instructions only use the low 5/6 bits
|
||||
// of the count for 32/64 bit ints? If not we need to do the masking
|
||||
// ourselves.
|
||||
static const bool need_masked_shift_count;
|
||||
|
||||
// This routine is run whenever a graph fails to match.
|
||||
// If it returns, the compiler should bailout to interpreter without error.
|
||||
// In non-product mode, SoftMatchFailure is false to detect non-canonical
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue