Mercurial > hg > truffle
comparison src/share/vm/opto/matcher.hpp @ 2401:7e88bdae86ec
7029017: Additional architecture support for c2 compiler
Summary: Enables cross building of a c2 VM. Support masking of shift counts when the processor architecture mandates it.
Reviewed-by: kvn, never
author | roland |
---|---|
date | Fri, 25 Mar 2011 09:35:39 +0100 |
parents | 2f644f85485d |
children | 1d1603768966 |
comparison
equal
deleted
inserted
replaced
2399:b2949bf39900 | 2401:7e88bdae86ec |
---|---|
425 // Are floats conerted to double when stored to stack during deoptimization? | 425 // Are floats conerted to double when stored to stack during deoptimization? |
426 static bool float_in_double(); | 426 static bool float_in_double(); |
427 // Do ints take an entire long register or just half? | 427 // Do ints take an entire long register or just half? |
428 static const bool int_in_long; | 428 static const bool int_in_long; |
429 | 429 |
430 // Do the processor's shift instructions only use the low 5/6 bits | |
431 // of the count for 32/64 bit ints? If not we need to do the masking | |
432 // ourselves. | |
433 static const bool need_masked_shift_count; | |
434 | |
430 // This routine is run whenever a graph fails to match. | 435 // This routine is run whenever a graph fails to match. |
431 // If it returns, the compiler should bailout to interpreter without error. | 436 // If it returns, the compiler should bailout to interpreter without error. |
432 // In non-product mode, SoftMatchFailure is false to detect non-canonical | 437 // In non-product mode, SoftMatchFailure is false to detect non-canonical |
433 // graphs. Print a message and exit. | 438 // graphs. Print a message and exit. |
434 static void soft_match_failure() { | 439 static void soft_match_failure() { |