Mercurial > hg > graal-jvmci-8
comparison src/cpu/sparc/vm/c1_LIRAssembler_sparc.cpp @ 1369:0a43776437b6
6942223: c1 64 bit fixes
Summary: This fixes lir_cmp_l2i on x64 and sparc 64bit, and the debug info generation.
Reviewed-by: never
author | iveresov |
---|---|
date | Thu, 08 Apr 2010 12:13:07 -0700 |
parents | 6476042f815c |
children | 9f5b60a14736 |
comparison
equal
deleted
inserted
replaced
1368:93767e6a2dfd | 1369:0a43776437b6 |
---|---|
1726 __ float_cmp(false, is_unordered_less ? -1 : 1, left->as_double_reg(), right->as_double_reg(), dst->as_register()); | 1726 __ float_cmp(false, is_unordered_less ? -1 : 1, left->as_double_reg(), right->as_double_reg(), dst->as_register()); |
1727 } else { | 1727 } else { |
1728 ShouldNotReachHere(); | 1728 ShouldNotReachHere(); |
1729 } | 1729 } |
1730 } else if (code == lir_cmp_l2i) { | 1730 } else if (code == lir_cmp_l2i) { |
1731 #ifdef _LP64 | |
1732 __ lcmp(left->as_register_lo(), right->as_register_lo(), dst->as_register()); | |
1733 #else | |
1731 __ lcmp(left->as_register_hi(), left->as_register_lo(), | 1734 __ lcmp(left->as_register_hi(), left->as_register_lo(), |
1732 right->as_register_hi(), right->as_register_lo(), | 1735 right->as_register_hi(), right->as_register_lo(), |
1733 dst->as_register()); | 1736 dst->as_register()); |
1737 #endif | |
1734 } else { | 1738 } else { |
1735 ShouldNotReachHere(); | 1739 ShouldNotReachHere(); |
1736 } | 1740 } |
1737 } | 1741 } |
1738 | 1742 |