< prev index next >

src/hotspot/cpu/aarch64/templateTable_aarch64.cpp

Print this page
8248238: Adding Windows support to OpenJDK on AArch64

Summary: LP64 vs LLP64 changes to add Windows support

Contributed-by: Monica Beckwith <monica.beckwith@microsoft.com>, Ludovic Henry <luhenry@microsoft.com>
Reviewed-by:

*** 1704,1714 **** { transition(ltos, itos); Label done; __ pop_l(r1); __ cmp(r1, r0); ! __ mov(r0, (u_int64_t)-1L); __ br(Assembler::LT, done); // __ mov(r0, 1UL); // __ csel(r0, r0, zr, Assembler::NE); // and here is a faster way __ csinc(r0, zr, zr, Assembler::EQ); --- 1704,1714 ---- { transition(ltos, itos); Label done; __ pop_l(r1); __ cmp(r1, r0); ! __ mov(r0, (uint64_t)-1L); __ br(Assembler::LT, done); // __ mov(r0, 1UL); // __ csel(r0, r0, zr, Assembler::NE); // and here is a faster way __ csinc(r0, zr, zr, Assembler::EQ);
*** 1728,1738 **** __ fcmpd(v1, v0); } if (unordered_result < 0) { // we want -1 for unordered or less than, 0 for equal and 1 for // greater than. ! __ mov(r0, (u_int64_t)-1L); // for FP LT tests less than or unordered __ br(Assembler::LT, done); // install 0 for EQ otherwise 1 __ csinc(r0, zr, zr, Assembler::EQ); } else { --- 1728,1738 ---- __ fcmpd(v1, v0); } if (unordered_result < 0) { // we want -1 for unordered or less than, 0 for equal and 1 for // greater than. ! __ mov(r0, (uint64_t)-1L); // for FP LT tests less than or unordered __ br(Assembler::LT, done); // install 0 for EQ otherwise 1 __ csinc(r0, zr, zr, Assembler::EQ); } else {
< prev index next >