1/* 2 * Compare two 64-bit values. Puts 0, 1, or -1 into the destination 3 * register based on the results of the comparison. 4 */ 5 /* cmp-long vAA, vBB, vCC */ 6 movzbq 2(rPC), %rdx # edx <- BB 7 movzbq 3(rPC), %rcx # ecx <- CC 8 GET_WIDE_VREG %rdx, %rdx # rdx <- v[BB] 9 xorl %eax, %eax 10 xorl %edi, %edi 11 addb $$1, %al 12 movl $$-1, %esi 13 cmpq VREG_ADDRESS(%rcx), %rdx 14 cmovl %esi, %edi 15 cmovg %eax, %edi 16 SET_VREG %edi, rINSTq 17 ADVANCE_PC_FETCH_AND_GOTO_NEXT 2 18