2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_0:
|
2019-08-30 08:16:11 +00:00
|
|
|
; ISMULH_R r0, r3
|
|
|
|
mov rax, r8
|
|
|
|
imul r11
|
|
|
|
mov r8, rdx
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_1:
|
2019-08-30 08:16:11 +00:00
|
|
|
; IROR_R r0, r6
|
|
|
|
mov ecx, r14d
|
|
|
|
ror r8, cl
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_2:
|
2019-08-30 08:16:11 +00:00
|
|
|
; FADD_R f1, a2
|
|
|
|
addpd xmm1, xmm10
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_3:
|
2019-08-30 08:16:11 +00:00
|
|
|
; IXOR_M r1, L1[r5+1954652011]
|
|
|
|
lea eax, [r13d+1954652011]
|
2019-06-23 21:10:29 +00:00
|
|
|
and eax, 16376
|
2019-08-30 08:16:11 +00:00
|
|
|
xor r9, qword ptr [rsi+rax]
|
|
|
|
randomx_isn_4:
|
|
|
|
; FMUL_R e2, a3
|
|
|
|
mulpd xmm6, xmm11
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_5:
|
2019-08-30 08:16:11 +00:00
|
|
|
; FADD_M f0, L2[r0-772804104]
|
|
|
|
lea eax, [r8d-772804104]
|
|
|
|
and eax, 262136
|
|
|
|
cvtdq2pd xmm12, qword ptr [rsi+rax]
|
|
|
|
addpd xmm0, xmm12
|
2019-06-23 21:10:29 +00:00
|
|
|
randomx_isn_6:
|
2019-08-30 08:16:11 +00:00
|
|
|
; IMUL_R r6, r4
|
|
|
|
imul r14, r12
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_7:
|
2019-08-30 08:16:11 +00:00
|
|
|
; CBRANCH r5, 1674196118, COND 2
|
|
|
|
add r13, 1674196118
|
|
|
|
test r13, 261120
|
|
|
|
jz randomx_isn_0
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_8:
|
2019-08-30 08:16:11 +00:00
|
|
|
; ISWAP_R r7, r6
|
|
|
|
xchg r15, r14
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_9:
|
2019-08-30 08:16:11 +00:00
|
|
|
; ISTORE L1[r1-439821682], r3
|
|
|
|
lea eax, [r9d-439821682]
|
2019-06-23 21:10:29 +00:00
|
|
|
and eax, 16376
|
2019-08-30 08:16:11 +00:00
|
|
|
mov qword ptr [rsi+rax], r11
|
|
|
|
randomx_isn_10:
|
|
|
|
; IXOR_R r2, r4
|
|
|
|
xor r10, r12
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_11:
|
2019-08-30 08:16:11 +00:00
|
|
|
; FADD_R f2, a1
|
|
|
|
addpd xmm2, xmm9
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_12:
|
2019-08-30 08:16:11 +00:00
|
|
|
; IXOR_M r0, L1[r1+952699079]
|
|
|
|
lea eax, [r9d+952699079]
|
|
|
|
and eax, 16376
|
|
|
|
xor r8, qword ptr [rsi+rax]
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_13:
|
2019-08-30 08:16:11 +00:00
|
|
|
; ISMULH_R r5, r2
|
|
|
|
mov rax, r13
|
|
|
|
imul r10
|
|
|
|
mov r13, rdx
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_14:
|
2019-08-30 08:16:11 +00:00
|
|
|
; INEG_R r4
|
|
|
|
neg r12
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_15:
|
2019-08-30 08:16:11 +00:00
|
|
|
; INEG_R r1
|
|
|
|
neg r9
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_16:
|
2019-08-30 08:16:11 +00:00
|
|
|
; IMUL_M r3, L1[r2+620091535]
|
|
|
|
lea eax, [r10d+620091535]
|
|
|
|
and eax, 16376
|
|
|
|
imul r11, qword ptr [rsi+rax]
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_17:
|
2019-08-30 08:16:11 +00:00
|
|
|
; FADD_R f1, a0
|
|
|
|
addpd xmm1, xmm8
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_18:
|
2019-08-30 08:16:11 +00:00
|
|
|
; IMUL_RCP r5, 2611385784
|
|
|
|
mov rax, 15169754503470242065
|
|
|
|
imul r13, rax
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_19:
|
2019-08-30 08:16:11 +00:00
|
|
|
; IXOR_R r2, 922368940
|
|
|
|
xor r10, 922368940
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_20:
|
2019-08-30 08:16:11 +00:00
|
|
|
; FADD_R f3, a1
|
|
|
|
addpd xmm3, xmm9
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_21:
|
2019-08-30 08:16:11 +00:00
|
|
|
; IXOR_R r3, r6
|
|
|
|
xor r11, r14
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_22:
|
2019-08-30 08:16:11 +00:00
|
|
|
; FSWAP_R e1
|
|
|
|
shufpd xmm5, xmm5, 1
|
2019-05-05 17:27:06 +00:00
|
|
|
randomx_isn_23:
|
2019-08-30 08:16:11 +00:00
|
|
|
; ISUB_R r0, r5
|
|
|
|
sub r8, r13
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_24:
|
2019-08-30 08:16:11 +00:00
|
|
|
; ISTORE L1[r6-1574415460], r7
|
|
|
|
lea eax, [r14d-1574415460]
|
|
|
|
and eax, 16376
|
|
|
|
mov qword ptr [rsi+rax], r15
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_25:
|
2019-08-30 08:16:11 +00:00
|
|
|
; FADD_M f3, L1[r3+1766115210]
|
|
|
|
lea eax, [r11d+1766115210]
|
2019-06-23 21:10:29 +00:00
|
|
|
and eax, 16376
|
2019-08-30 08:16:11 +00:00
|
|
|
cvtdq2pd xmm12, qword ptr [rsi+rax]
|
|
|
|
addpd xmm3, xmm12
|
|
|
|
randomx_isn_26:
|
|
|
|
; FSCAL_R f1
|
|
|
|
xorps xmm1, xmm15
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_27:
|
2019-08-30 08:16:11 +00:00
|
|
|
; CBRANCH r2, 1731738265, COND 6
|
|
|
|
add r10, 1731746457
|
|
|
|
test r10, 4177920
|
|
|
|
jz randomx_isn_20
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_28:
|
2019-08-30 08:16:11 +00:00
|
|
|
; IXOR_R r4, r1
|
|
|
|
xor r12, r9
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_29:
|
2019-08-30 08:16:11 +00:00
|
|
|
; CBRANCH r4, 1937048537, COND 3
|
|
|
|
add r12, 1937050585
|
|
|
|
test r12, 522240
|
|
|
|
jz randomx_isn_29
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_30:
|
2019-08-30 08:16:11 +00:00
|
|
|
; ISWAP_R r3, r5
|
|
|
|
xchg r11, r13
|
2019-05-05 17:27:06 +00:00
|
|
|
randomx_isn_31:
|
2019-08-30 08:16:11 +00:00
|
|
|
; ISMULH_R r7, r5
|
|
|
|
mov rax, r15
|
|
|
|
imul r13
|
|
|
|
mov r15, rdx
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_32:
|
2019-08-30 08:16:11 +00:00
|
|
|
; IMULH_M r6, L1[r2+1879111790]
|
|
|
|
lea ecx, [r10d+1879111790]
|
|
|
|
and ecx, 16376
|
|
|
|
mov rax, r14
|
|
|
|
mul qword ptr [rsi+rcx]
|
|
|
|
mov r14, rdx
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_33:
|
2019-08-30 08:16:11 +00:00
|
|
|
; IMUL_R r5, r0
|
|
|
|
imul r13, r8
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_34:
|
2019-08-30 08:16:11 +00:00
|
|
|
; ISWAP_R r5, r0
|
|
|
|
xchg r13, r8
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_35:
|
2019-08-30 08:16:11 +00:00
|
|
|
; CBRANCH r4, 1174490916, COND 5
|
|
|
|
add r12, 1174499108
|
|
|
|
test r12, 2088960
|
|
|
|
jz randomx_isn_30
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_36:
|
2019-08-30 08:16:11 +00:00
|
|
|
; CBRANCH r6, -1852457840, COND 8
|
|
|
|
add r14, -1852490608
|
|
|
|
test r14, 16711680
|
|
|
|
jz randomx_isn_36
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_37:
|
2019-08-30 08:16:11 +00:00
|
|
|
; ISMULH_R r2, r0
|
|
|
|
mov rax, r10
|
|
|
|
imul r8
|
|
|
|
mov r10, rdx
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_38:
|
2019-08-30 08:16:11 +00:00
|
|
|
; ISUB_R r2, r0
|
|
|
|
sub r10, r8
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_39:
|
2019-08-30 08:16:11 +00:00
|
|
|
; ISTORE L1[r0-38118463], r5
|
|
|
|
lea eax, [r8d-38118463]
|
2019-06-23 21:10:29 +00:00
|
|
|
and eax, 16376
|
2019-08-30 08:16:11 +00:00
|
|
|
mov qword ptr [rsi+rax], r13
|
|
|
|
randomx_isn_40:
|
|
|
|
; IXOR_R r0, r1
|
|
|
|
xor r8, r9
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_41:
|
2019-08-30 08:16:11 +00:00
|
|
|
; IMUL_R r6, r4
|
|
|
|
imul r14, r12
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_42:
|
2019-08-30 08:16:11 +00:00
|
|
|
; ISUB_R r7, r5
|
|
|
|
sub r15, r13
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_43:
|
2019-08-30 08:16:11 +00:00
|
|
|
; FDIV_M e0, L1[r2+1052956160]
|
|
|
|
lea eax, [r10d+1052956160]
|
2019-06-23 21:10:29 +00:00
|
|
|
and eax, 16376
|
2019-08-30 08:16:11 +00:00
|
|
|
cvtdq2pd xmm12, qword ptr [rsi+rax]
|
|
|
|
andps xmm12, xmm13
|
|
|
|
orps xmm12, xmm14
|
|
|
|
divpd xmm4, xmm12
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_44:
|
2019-08-30 08:16:11 +00:00
|
|
|
; CBRANCH r1, 1870241002, COND 11
|
|
|
|
add r9, 1870241002
|
|
|
|
test r9, 133693440
|
|
|
|
jz randomx_isn_37
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_45:
|
2019-08-30 08:16:11 +00:00
|
|
|
; IXOR_R r1, r4
|
|
|
|
xor r9, r12
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_46:
|
2019-08-30 08:16:11 +00:00
|
|
|
; FMUL_R e3, a1
|
|
|
|
mulpd xmm7, xmm9
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_47:
|
2019-08-30 08:16:11 +00:00
|
|
|
; IXOR_M r0, L1[r2+839895331]
|
|
|
|
lea eax, [r10d+839895331]
|
|
|
|
and eax, 16376
|
|
|
|
xor r8, qword ptr [rsi+rax]
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_48:
|
2019-08-30 08:16:11 +00:00
|
|
|
; CBRANCH r2, -2128896196, COND 6
|
|
|
|
add r10, -2128879812
|
|
|
|
test r10, 4177920
|
|
|
|
jz randomx_isn_45
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_49:
|
2019-08-30 08:16:11 +00:00
|
|
|
; CFROUND r1, 13
|
|
|
|
mov rax, r9
|
|
|
|
and eax, 24576
|
|
|
|
or eax, 40896
|
|
|
|
push rax
|
|
|
|
ldmxcsr dword ptr [rsp]
|
|
|
|
pop rax
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_50:
|
2019-08-30 08:16:11 +00:00
|
|
|
; ISWAP_R r3, r1
|
|
|
|
xchg r11, r9
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_51:
|
2019-08-30 08:16:11 +00:00
|
|
|
; IMUL_RCP r1, 4205062916
|
|
|
|
mov rax, 9420568026795290117
|
|
|
|
imul r9, rax
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_52:
|
2019-08-30 08:16:11 +00:00
|
|
|
; FSUB_R f0, a0
|
|
|
|
subpd xmm0, xmm8
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_53:
|
2019-08-30 08:16:11 +00:00
|
|
|
; IMUL_R r7, r6
|
|
|
|
imul r15, r14
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_54:
|
2019-08-30 08:16:11 +00:00
|
|
|
; IADD_RS r1, r2, SHFT 3
|
|
|
|
lea r9, [r9+r10*8]
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_55:
|
2019-08-30 08:16:11 +00:00
|
|
|
; FSQRT_R e3
|
|
|
|
sqrtpd xmm7, xmm7
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_56:
|
2019-08-30 08:16:11 +00:00
|
|
|
; FMUL_R e1, a0
|
|
|
|
mulpd xmm5, xmm8
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_57:
|
2019-08-30 08:16:11 +00:00
|
|
|
; IMUL_RCP r3, 303101651
|
|
|
|
mov rax, 16336962008634921950
|
|
|
|
imul r11, rax
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_58:
|
2019-08-30 08:16:11 +00:00
|
|
|
; IMUL_RCP r1, 3375482677
|
|
|
|
mov rax, 11735827153567160432
|
|
|
|
imul r9, rax
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_59:
|
2019-08-30 08:16:11 +00:00
|
|
|
; CBRANCH r6, 2116776661, COND 12
|
|
|
|
add r14, 2117300949
|
|
|
|
test r14, 267386880
|
|
|
|
jz randomx_isn_49
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_60:
|
2019-08-30 08:16:11 +00:00
|
|
|
; IMUL_R r3, r4
|
|
|
|
imul r11, r12
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_61:
|
2019-08-30 08:16:11 +00:00
|
|
|
; FMUL_R e3, a0
|
|
|
|
mulpd xmm7, xmm8
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_62:
|
2019-08-30 08:16:11 +00:00
|
|
|
; ISUB_R r3, 1514378938
|
|
|
|
sub r11, 1514378938
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_63:
|
2019-08-30 08:16:11 +00:00
|
|
|
; FMUL_R e2, a0
|
|
|
|
mulpd xmm6, xmm8
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_64:
|
2019-08-30 08:16:11 +00:00
|
|
|
; ISUB_R r4, r6
|
|
|
|
sub r12, r14
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_65:
|
2019-08-30 08:16:11 +00:00
|
|
|
; FDIV_M e2, L1[r0+1496571595]
|
|
|
|
lea eax, [r8d+1496571595]
|
|
|
|
and eax, 16376
|
|
|
|
cvtdq2pd xmm12, qword ptr [rsi+rax]
|
|
|
|
andps xmm12, xmm13
|
|
|
|
orps xmm12, xmm14
|
|
|
|
divpd xmm6, xmm12
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_66:
|
2019-08-30 08:16:11 +00:00
|
|
|
; FSUB_R f0, a2
|
|
|
|
subpd xmm0, xmm10
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_67:
|
2019-08-30 08:16:11 +00:00
|
|
|
; FDIV_M e3, L2[r7-2139079025]
|
|
|
|
lea eax, [r15d-2139079025]
|
|
|
|
and eax, 262136
|
|
|
|
cvtdq2pd xmm12, qword ptr [rsi+rax]
|
|
|
|
andps xmm12, xmm13
|
|
|
|
orps xmm12, xmm14
|
|
|
|
divpd xmm7, xmm12
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_68:
|
2019-08-30 08:16:11 +00:00
|
|
|
; FSUB_R f2, a2
|
|
|
|
subpd xmm2, xmm10
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_69:
|
2019-08-30 08:16:11 +00:00
|
|
|
; CBRANCH r3, -1165095866, COND 7
|
|
|
|
add r11, -1165063098
|
|
|
|
test r11, 8355840
|
|
|
|
jz randomx_isn_63
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_70:
|
2019-08-30 08:16:11 +00:00
|
|
|
; IMULH_R r0, r7
|
|
|
|
mov rax, r8
|
|
|
|
mul r15
|
|
|
|
mov r8, rdx
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_71:
|
2019-08-30 08:16:11 +00:00
|
|
|
; FMUL_R e2, a0
|
|
|
|
mulpd xmm6, xmm8
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_72:
|
2019-08-30 08:16:11 +00:00
|
|
|
; FMUL_R e0, a3
|
|
|
|
mulpd xmm4, xmm11
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_73:
|
2019-08-30 08:16:11 +00:00
|
|
|
; IMUL_RCP r6, 1636610180
|
|
|
|
mov rax, 12102479179596746977
|
|
|
|
imul r14, rax
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_74:
|
2019-08-30 08:16:11 +00:00
|
|
|
; FMUL_R e2, a2
|
|
|
|
mulpd xmm6, xmm10
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_75:
|
2019-08-30 08:16:11 +00:00
|
|
|
; ISTORE L2[r2+473418592], r3
|
|
|
|
lea eax, [r10d+473418592]
|
2019-06-23 21:10:29 +00:00
|
|
|
and eax, 262136
|
2019-08-30 08:16:11 +00:00
|
|
|
mov qword ptr [rsi+rax], r11
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_76:
|
2019-08-30 08:16:11 +00:00
|
|
|
; IADD_M r1, L1[r3-989917936]
|
|
|
|
lea eax, [r11d-989917936]
|
|
|
|
and eax, 16376
|
|
|
|
add r9, qword ptr [rsi+rax]
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_77:
|
2019-08-30 08:16:11 +00:00
|
|
|
; CBRANCH r2, 1519854177, COND 7
|
|
|
|
add r10, 1519886945
|
|
|
|
test r10, 8355840
|
|
|
|
jz randomx_isn_70
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_78:
|
2019-08-30 08:16:11 +00:00
|
|
|
; IMUL_R r2, r6
|
|
|
|
imul r10, r14
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_79:
|
2019-08-30 08:16:11 +00:00
|
|
|
; IMUL_R r4, r1
|
|
|
|
imul r12, r9
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_80:
|
2019-08-30 08:16:11 +00:00
|
|
|
; FMUL_R e2, a1
|
|
|
|
mulpd xmm6, xmm9
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_81:
|
2019-08-30 08:16:11 +00:00
|
|
|
; FSCAL_R f2
|
|
|
|
xorps xmm2, xmm15
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_82:
|
2019-08-30 08:16:11 +00:00
|
|
|
; IXOR_M r2, L1[r1+192323103]
|
|
|
|
lea eax, [r9d+192323103]
|
|
|
|
and eax, 16376
|
|
|
|
xor r10, qword ptr [rsi+rax]
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_83:
|
2019-08-30 08:16:11 +00:00
|
|
|
; IMUL_R r7, r4
|
|
|
|
imul r15, r12
|
2019-06-23 21:10:29 +00:00
|
|
|
randomx_isn_84:
|
2019-08-30 08:16:11 +00:00
|
|
|
; FADD_R f2, a0
|
|
|
|
addpd xmm2, xmm8
|
2019-06-23 21:10:29 +00:00
|
|
|
randomx_isn_85:
|
2019-08-30 08:16:11 +00:00
|
|
|
; FSUB_M f1, L2[r6-1549504487]
|
|
|
|
lea eax, [r14d-1549504487]
|
|
|
|
and eax, 262136
|
|
|
|
cvtdq2pd xmm12, qword ptr [rsi+rax]
|
|
|
|
subpd xmm1, xmm12
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_86:
|
2019-08-30 08:16:11 +00:00
|
|
|
; FSUB_R f0, a3
|
|
|
|
subpd xmm0, xmm11
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_87:
|
2019-08-30 08:16:11 +00:00
|
|
|
; CFROUND r3, 31
|
|
|
|
mov rax, r11
|
|
|
|
rol rax, 46
|
|
|
|
and eax, 24576
|
|
|
|
or eax, 40896
|
|
|
|
push rax
|
|
|
|
ldmxcsr dword ptr [rsp]
|
|
|
|
pop rax
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_88:
|
2019-08-30 08:16:11 +00:00
|
|
|
; IXOR_R r5, r6
|
|
|
|
xor r13, r14
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_89:
|
2019-08-30 08:16:11 +00:00
|
|
|
; FADD_R f3, a2
|
|
|
|
addpd xmm3, xmm10
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_90:
|
2019-08-30 08:16:11 +00:00
|
|
|
; FADD_R f3, a0
|
|
|
|
addpd xmm3, xmm8
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_91:
|
2019-08-30 08:16:11 +00:00
|
|
|
; FSQRT_R e1
|
|
|
|
sqrtpd xmm5, xmm5
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_92:
|
2019-08-30 08:16:11 +00:00
|
|
|
; ISUB_R r6, r2
|
|
|
|
sub r14, r10
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_93:
|
2019-08-30 08:16:11 +00:00
|
|
|
; ISUB_R r0, r4
|
|
|
|
sub r8, r12
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_94:
|
2019-08-30 08:16:11 +00:00
|
|
|
; FADD_R f1, a2
|
|
|
|
addpd xmm1, xmm10
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_95:
|
2019-08-30 08:16:11 +00:00
|
|
|
; IMUL_R r1, r2
|
|
|
|
imul r9, r10
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_96:
|
2019-08-30 08:16:11 +00:00
|
|
|
; FSCAL_R f1
|
|
|
|
xorps xmm1, xmm15
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_97:
|
2019-08-30 08:16:11 +00:00
|
|
|
; ISTORE L1[r7-1901001017], r7
|
|
|
|
lea eax, [r15d-1901001017]
|
|
|
|
and eax, 16376
|
|
|
|
mov qword ptr [rsi+rax], r15
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_98:
|
2019-08-30 08:16:11 +00:00
|
|
|
; FADD_R f1, a3
|
|
|
|
addpd xmm1, xmm11
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_99:
|
2019-08-30 08:16:11 +00:00
|
|
|
; CBRANCH r2, -425599201, COND 9
|
|
|
|
add r10, -425533665
|
|
|
|
test r10, 33423360
|
|
|
|
jz randomx_isn_83
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_100:
|
2019-08-30 08:16:11 +00:00
|
|
|
; IXOR_R r4, r6
|
|
|
|
xor r12, r14
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_101:
|
2019-08-30 08:16:11 +00:00
|
|
|
; FMUL_R e0, a3
|
|
|
|
mulpd xmm4, xmm11
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_102:
|
2019-08-30 08:16:11 +00:00
|
|
|
; FADD_M f0, L1[r0+1590646897]
|
|
|
|
lea eax, [r8d+1590646897]
|
|
|
|
and eax, 16376
|
|
|
|
cvtdq2pd xmm12, qword ptr [rsi+rax]
|
|
|
|
addpd xmm0, xmm12
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_103:
|
2019-08-30 08:16:11 +00:00
|
|
|
; FMUL_R e0, a1
|
|
|
|
mulpd xmm4, xmm9
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_104:
|
2019-08-30 08:16:11 +00:00
|
|
|
; IMUL_R r4, r7
|
|
|
|
imul r12, r15
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_105:
|
2019-08-30 08:16:11 +00:00
|
|
|
; ISUB_R r1, r0
|
|
|
|
sub r9, r8
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_106:
|
2019-08-30 08:16:11 +00:00
|
|
|
; FSUB_R f1, a2
|
|
|
|
subpd xmm1, xmm10
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_107:
|
2019-08-30 08:16:11 +00:00
|
|
|
; FMUL_R e1, a1
|
|
|
|
mulpd xmm5, xmm9
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_108:
|
2019-08-30 08:16:11 +00:00
|
|
|
; FMUL_R e1, a2
|
|
|
|
mulpd xmm5, xmm10
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_109:
|
2019-08-30 08:16:11 +00:00
|
|
|
; FADD_R f3, a2
|
|
|
|
addpd xmm3, xmm10
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_110:
|
2019-08-30 08:16:11 +00:00
|
|
|
; IXOR_R r0, r3
|
|
|
|
xor r8, r11
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_111:
|
2019-08-30 08:16:11 +00:00
|
|
|
; IMUL_R r0, 1421329412
|
|
|
|
imul r8, 1421329412
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_112:
|
2019-08-30 08:16:11 +00:00
|
|
|
; FSUB_R f0, a2
|
|
|
|
subpd xmm0, xmm10
|
|
|
|
randomx_isn_113:
|
2019-06-23 21:10:29 +00:00
|
|
|
; IMUL_R r5, r4
|
|
|
|
imul r13, r12
|
|
|
|
randomx_isn_114:
|
2019-08-30 08:16:11 +00:00
|
|
|
; IADD_RS r7, r3, SHFT 2
|
|
|
|
lea r15, [r15+r11*4]
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_115:
|
2019-08-30 08:16:11 +00:00
|
|
|
; FADD_R f3, a3
|
|
|
|
addpd xmm3, xmm11
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_116:
|
2019-08-30 08:16:11 +00:00
|
|
|
; ISTORE L1[r3-160363922], r0
|
|
|
|
lea eax, [r11d-160363922]
|
2019-06-23 21:10:29 +00:00
|
|
|
and eax, 16376
|
2019-08-30 08:16:11 +00:00
|
|
|
mov qword ptr [rsi+rax], r8
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_117:
|
2019-08-30 08:16:11 +00:00
|
|
|
; IMULH_R r0, r6
|
|
|
|
mov rax, r8
|
|
|
|
mul r14
|
|
|
|
mov r8, rdx
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_118:
|
2019-08-30 08:16:11 +00:00
|
|
|
; FSWAP_R f2
|
|
|
|
shufpd xmm2, xmm2, 1
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_119:
|
2019-08-30 08:16:11 +00:00
|
|
|
; FMUL_R e1, a0
|
|
|
|
mulpd xmm5, xmm8
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_120:
|
2019-08-30 08:16:11 +00:00
|
|
|
; IROR_R r0, 12
|
|
|
|
ror r8, 12
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_121:
|
2019-08-30 08:16:11 +00:00
|
|
|
; FADD_M f0, L1[r0+282806289]
|
|
|
|
lea eax, [r8d+282806289]
|
|
|
|
and eax, 16376
|
|
|
|
cvtdq2pd xmm12, qword ptr [rsi+rax]
|
|
|
|
addpd xmm0, xmm12
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_122:
|
2019-08-30 08:16:11 +00:00
|
|
|
; FADD_M f3, L1[r7+1601529113]
|
|
|
|
lea eax, [r15d+1601529113]
|
|
|
|
and eax, 16376
|
|
|
|
cvtdq2pd xmm12, qword ptr [rsi+rax]
|
|
|
|
addpd xmm3, xmm12
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_123:
|
2019-08-30 08:16:11 +00:00
|
|
|
; IMUL_RCP r2, 2522040806
|
|
|
|
mov rax, 15707153176462985744
|
|
|
|
imul r10, rax
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_124:
|
2019-08-30 08:16:11 +00:00
|
|
|
; ISUB_M r0, L1[r3+974906597]
|
|
|
|
lea eax, [r11d+974906597]
|
|
|
|
and eax, 16376
|
|
|
|
sub r8, qword ptr [rsi+rax]
|
2019-04-30 19:19:55 +00:00
|
|
|
randomx_isn_125:
|
2019-08-30 08:16:11 +00:00
|
|
|
; CBRANCH r2, 1508706439, COND 14
|
|
|
|
add r10, 1506609287
|
|
|
|
test r10, 1069547520
|
|
|
|
jz randomx_isn_124
|
2019-04-30 19:19:55 +00:00
|
|
|
randomx_isn_126:
|
2019-08-30 08:16:11 +00:00
|
|
|
; IXOR_R r4, r5
|
|
|
|
xor r12, r13
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_127:
|
2019-08-30 08:16:11 +00:00
|
|
|
; IMUL_R r7, r2
|
|
|
|
imul r15, r10
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_128:
|
2019-08-30 08:16:11 +00:00
|
|
|
; IROR_R r4, r0
|
|
|
|
mov ecx, r8d
|
|
|
|
ror r12, cl
|
2019-05-05 17:27:06 +00:00
|
|
|
randomx_isn_129:
|
2019-08-30 08:16:11 +00:00
|
|
|
; CBRANCH r0, -497803311, COND 3
|
|
|
|
add r8, -497804335
|
|
|
|
test r8, 522240
|
|
|
|
jz randomx_isn_126
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_130:
|
2019-08-30 08:16:11 +00:00
|
|
|
; FSUB_M f0, L1[r3+1789853646]
|
|
|
|
lea eax, [r11d+1789853646]
|
2019-06-23 21:10:29 +00:00
|
|
|
and eax, 16376
|
2019-08-30 08:16:11 +00:00
|
|
|
cvtdq2pd xmm12, qword ptr [rsi+rax]
|
|
|
|
subpd xmm0, xmm12
|
|
|
|
randomx_isn_131:
|
|
|
|
; ISMULH_R r6, r3
|
|
|
|
mov rax, r14
|
|
|
|
imul r11
|
|
|
|
mov r14, rdx
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_132:
|
2019-08-30 08:16:11 +00:00
|
|
|
; FMUL_R e0, a3
|
|
|
|
mulpd xmm4, xmm11
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_133:
|
2019-08-30 08:16:11 +00:00
|
|
|
; FSUB_R f2, a1
|
|
|
|
subpd xmm2, xmm9
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_134:
|
2019-08-30 08:16:11 +00:00
|
|
|
; CBRANCH r3, -1567551204, COND 11
|
|
|
|
add r11, -1567026916
|
|
|
|
test r11, 133693440
|
|
|
|
jz randomx_isn_130
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_135:
|
2019-08-30 08:16:11 +00:00
|
|
|
; FSUB_M f2, L2[r5+1167508659]
|
|
|
|
lea eax, [r13d+1167508659]
|
|
|
|
and eax, 262136
|
|
|
|
cvtdq2pd xmm12, qword ptr [rsi+rax]
|
|
|
|
subpd xmm2, xmm12
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_136:
|
2019-08-30 08:16:11 +00:00
|
|
|
; IMUL_R r4, r0
|
|
|
|
imul r12, r8
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_137:
|
2019-08-30 08:16:11 +00:00
|
|
|
; IMULH_R r7, r6
|
|
|
|
mov rax, r15
|
|
|
|
mul r14
|
|
|
|
mov r15, rdx
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_138:
|
2019-08-30 08:16:11 +00:00
|
|
|
; FMUL_R e3, a2
|
|
|
|
mulpd xmm7, xmm10
|
2019-06-23 21:10:29 +00:00
|
|
|
randomx_isn_139:
|
2019-08-30 08:16:11 +00:00
|
|
|
; IMUL_R r2, r6
|
|
|
|
imul r10, r14
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_140:
|
2019-08-30 08:16:11 +00:00
|
|
|
; ISTORE L1[r0+1277653290], r3
|
|
|
|
lea eax, [r8d+1277653290]
|
|
|
|
and eax, 16376
|
|
|
|
mov qword ptr [rsi+rax], r11
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_141:
|
2019-08-30 08:16:11 +00:00
|
|
|
; IXOR_M r0, L1[r6-2131931958]
|
|
|
|
lea eax, [r14d-2131931958]
|
|
|
|
and eax, 16376
|
|
|
|
xor r8, qword ptr [rsi+rax]
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_142:
|
2019-08-30 08:16:11 +00:00
|
|
|
; FSUB_R f3, a3
|
|
|
|
subpd xmm3, xmm11
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_143:
|
2019-08-30 08:16:11 +00:00
|
|
|
; IROL_R r6, r1
|
|
|
|
mov ecx, r9d
|
|
|
|
rol r14, cl
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_144:
|
2019-08-30 08:16:11 +00:00
|
|
|
; FADD_R f1, a3
|
|
|
|
addpd xmm1, xmm11
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_145:
|
2019-08-30 08:16:11 +00:00
|
|
|
; FMUL_R e0, a3
|
|
|
|
mulpd xmm4, xmm11
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_146:
|
2019-08-30 08:16:11 +00:00
|
|
|
; FSQRT_R e0
|
|
|
|
sqrtpd xmm4, xmm4
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_147:
|
2019-08-30 08:16:11 +00:00
|
|
|
; IADD_RS r7, r4, SHFT 0
|
|
|
|
lea r15, [r15+r12*1]
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_148:
|
2019-08-30 08:16:11 +00:00
|
|
|
; FSUB_R f3, a1
|
|
|
|
subpd xmm3, xmm9
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_149:
|
2019-08-30 08:16:11 +00:00
|
|
|
; ISTORE L2[r1-1073333533], r3
|
|
|
|
lea eax, [r9d-1073333533]
|
|
|
|
and eax, 262136
|
|
|
|
mov qword ptr [rsi+rax], r11
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_150:
|
2019-08-30 08:16:11 +00:00
|
|
|
; FMUL_R e3, a3
|
|
|
|
mulpd xmm7, xmm11
|
2019-05-05 17:27:06 +00:00
|
|
|
randomx_isn_151:
|
2019-08-30 08:16:11 +00:00
|
|
|
; ISUB_R r6, r3
|
|
|
|
sub r14, r11
|
2019-05-05 17:27:06 +00:00
|
|
|
randomx_isn_152:
|
2019-08-30 08:16:11 +00:00
|
|
|
; IMULH_M r7, L2[r1+1647843648]
|
|
|
|
lea ecx, [r9d+1647843648]
|
|
|
|
and ecx, 262136
|
|
|
|
mov rax, r15
|
|
|
|
mul qword ptr [rsi+rcx]
|
|
|
|
mov r15, rdx
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_153:
|
2019-08-30 08:16:11 +00:00
|
|
|
; FMUL_R e0, a0
|
|
|
|
mulpd xmm4, xmm8
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_154:
|
2019-08-30 08:16:11 +00:00
|
|
|
; IROR_R r3, r0
|
|
|
|
mov ecx, r8d
|
|
|
|
ror r11, cl
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_155:
|
2019-08-30 08:16:11 +00:00
|
|
|
; IADD_M r3, L1[r7-1322060518]
|
|
|
|
lea eax, [r15d-1322060518]
|
|
|
|
and eax, 16376
|
|
|
|
add r11, qword ptr [rsi+rax]
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_156:
|
2019-08-30 08:16:11 +00:00
|
|
|
; CBRANCH r3, 608981196, COND 1
|
|
|
|
add r11, 608981708
|
|
|
|
test r11, 130560
|
|
|
|
jz randomx_isn_156
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_157:
|
2019-08-30 08:16:11 +00:00
|
|
|
; FSUB_M f0, L2[r7-252644586]
|
|
|
|
lea eax, [r15d-252644586]
|
|
|
|
and eax, 262136
|
|
|
|
cvtdq2pd xmm12, qword ptr [rsi+rax]
|
|
|
|
subpd xmm0, xmm12
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_158:
|
2019-08-30 08:16:11 +00:00
|
|
|
; CBRANCH r2, 868397474, COND 15
|
|
|
|
add r10, 864203170
|
|
|
|
test r10, 2139095040
|
|
|
|
jz randomx_isn_157
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_159:
|
2019-08-30 08:16:11 +00:00
|
|
|
; ISUB_R r5, r3
|
|
|
|
sub r13, r11
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_160:
|
2019-08-30 08:16:11 +00:00
|
|
|
; FMUL_R e0, a0
|
|
|
|
mulpd xmm4, xmm8
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_161:
|
2019-08-30 08:16:11 +00:00
|
|
|
; FMUL_R e2, a1
|
|
|
|
mulpd xmm6, xmm9
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_162:
|
2019-08-30 08:16:11 +00:00
|
|
|
; CBRANCH r0, 887338591, COND 6
|
|
|
|
add r8, 887346783
|
|
|
|
test r8, 4177920
|
|
|
|
jz randomx_isn_159
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_163:
|
2019-08-30 08:16:11 +00:00
|
|
|
; IADD_RS r3, r3, SHFT 3
|
|
|
|
lea r11, [r11+r11*8]
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_164:
|
2019-08-30 08:16:11 +00:00
|
|
|
; IMUL_RCP r7, 3593878304
|
|
|
|
mov rax, 11022655166993703745
|
|
|
|
imul r15, rax
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_165:
|
2019-08-30 08:16:11 +00:00
|
|
|
; CBRANCH r0, 1452880957, COND 13
|
|
|
|
add r8, 1453929533
|
|
|
|
test r8, 534773760
|
|
|
|
jz randomx_isn_163
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_166:
|
2019-08-30 08:16:11 +00:00
|
|
|
; ISUB_M r6, L2[r3+1539038396]
|
|
|
|
lea eax, [r11d+1539038396]
|
|
|
|
and eax, 262136
|
|
|
|
sub r14, qword ptr [rsi+rax]
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_167:
|
2019-08-30 08:16:11 +00:00
|
|
|
; IMUL_RCP r3, 1202036339
|
|
|
|
mov rax, 16477905023274079568
|
|
|
|
imul r11, rax
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_168:
|
2019-08-30 08:16:11 +00:00
|
|
|
; CBRANCH r1, -1295757940, COND 13
|
|
|
|
add r9, -1293660788
|
|
|
|
test r9, 534773760
|
|
|
|
jz randomx_isn_166
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_169:
|
2019-08-30 08:16:11 +00:00
|
|
|
; FADD_M f2, L1[r2+876697387]
|
|
|
|
lea eax, [r10d+876697387]
|
|
|
|
and eax, 16376
|
|
|
|
cvtdq2pd xmm12, qword ptr [rsi+rax]
|
|
|
|
addpd xmm2, xmm12
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_170:
|
2019-08-30 08:16:11 +00:00
|
|
|
; IMUL_R r0, r6
|
|
|
|
imul r8, r14
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_171:
|
2019-08-30 08:16:11 +00:00
|
|
|
; FMUL_R e1, a3
|
|
|
|
mulpd xmm5, xmm11
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_172:
|
2019-08-30 08:16:11 +00:00
|
|
|
; FMUL_R e0, a2
|
|
|
|
mulpd xmm4, xmm10
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_173:
|
2019-08-30 08:16:11 +00:00
|
|
|
; FSUB_M f3, L1[r2-1083472792]
|
|
|
|
lea eax, [r10d-1083472792]
|
|
|
|
and eax, 16376
|
|
|
|
cvtdq2pd xmm12, qword ptr [rsi+rax]
|
|
|
|
subpd xmm3, xmm12
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_174:
|
2019-08-30 08:16:11 +00:00
|
|
|
; CBRANCH r1, -1476890738, COND 14
|
|
|
|
add r9, -1478987890
|
|
|
|
test r9, 1069547520
|
|
|
|
jz randomx_isn_169
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_175:
|
2019-08-30 08:16:11 +00:00
|
|
|
; ISUB_R r4, r7
|
|
|
|
sub r12, r15
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_176:
|
2019-08-30 08:16:11 +00:00
|
|
|
; ISUB_R r0, 1685118604
|
|
|
|
sub r8, 1685118604
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_177:
|
2019-08-30 08:16:11 +00:00
|
|
|
; FMUL_R e0, a1
|
|
|
|
mulpd xmm4, xmm9
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_178:
|
2019-08-30 08:16:11 +00:00
|
|
|
; ISUB_M r0, L1[r7-1897974312]
|
|
|
|
lea eax, [r15d-1897974312]
|
|
|
|
and eax, 16376
|
|
|
|
sub r8, qword ptr [rsi+rax]
|
2019-04-30 19:19:55 +00:00
|
|
|
randomx_isn_179:
|
2019-08-30 08:16:11 +00:00
|
|
|
; IXOR_R r4, r0
|
|
|
|
xor r12, r8
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_180:
|
2019-08-30 08:16:11 +00:00
|
|
|
; IXOR_R r7, r2
|
|
|
|
xor r15, r10
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_181:
|
2019-08-30 08:16:11 +00:00
|
|
|
; FSCAL_R f1
|
|
|
|
xorps xmm1, xmm15
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_182:
|
2019-08-30 08:16:11 +00:00
|
|
|
; ISWAP_R r6, r2
|
|
|
|
xchg r14, r10
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_183:
|
2019-08-30 08:16:11 +00:00
|
|
|
; IADD_RS r3, r1, SHFT 3
|
|
|
|
lea r11, [r11+r9*8]
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_184:
|
2019-08-30 08:16:11 +00:00
|
|
|
; ISTORE L1[r6-1997634426], r7
|
|
|
|
lea eax, [r14d-1997634426]
|
|
|
|
and eax, 16376
|
|
|
|
mov qword ptr [rsi+rax], r15
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_185:
|
2019-08-30 08:16:11 +00:00
|
|
|
; IXOR_R r2, r7
|
|
|
|
xor r10, r15
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_186:
|
2019-08-30 08:16:11 +00:00
|
|
|
; IMUL_R r4, r3
|
|
|
|
imul r12, r11
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_187:
|
2019-08-30 08:16:11 +00:00
|
|
|
; IMUL_RCP r7, 1830833174
|
|
|
|
mov rax, 10818593911149047378
|
|
|
|
imul r15, rax
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_188:
|
2019-08-30 08:16:11 +00:00
|
|
|
; FMUL_R e0, a2
|
|
|
|
mulpd xmm4, xmm10
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_189:
|
2019-08-30 08:16:11 +00:00
|
|
|
; FADD_R f1, a3
|
|
|
|
addpd xmm1, xmm11
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_190:
|
2019-08-30 08:16:11 +00:00
|
|
|
; CBRANCH r7, 121030040, COND 15
|
|
|
|
add r15, 129418648
|
|
|
|
test r15, 2139095040
|
|
|
|
jz randomx_isn_188
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_191:
|
2019-08-30 08:16:11 +00:00
|
|
|
; IADD_RS r6, r1, SHFT 0
|
|
|
|
lea r14, [r14+r9*1]
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_192:
|
2019-08-30 08:16:11 +00:00
|
|
|
; FSUB_R f3, a2
|
|
|
|
subpd xmm3, xmm10
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_193:
|
2019-08-30 08:16:11 +00:00
|
|
|
; CBRANCH r5, 1139434462, COND 11
|
|
|
|
add r13, 1139434462
|
|
|
|
test r13, 133693440
|
|
|
|
jz randomx_isn_191
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_194:
|
2019-08-30 08:16:11 +00:00
|
|
|
; FMUL_R e2, a0
|
|
|
|
mulpd xmm6, xmm8
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_195:
|
2019-08-30 08:16:11 +00:00
|
|
|
; FMUL_R e2, a3
|
|
|
|
mulpd xmm6, xmm11
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_196:
|
2019-08-30 08:16:11 +00:00
|
|
|
; CBRANCH r4, 429294077, COND 2
|
|
|
|
add r12, 429295101
|
|
|
|
test r12, 261120
|
|
|
|
jz randomx_isn_194
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_197:
|
2019-08-30 08:16:11 +00:00
|
|
|
; IMUL_R r1, r2
|
|
|
|
imul r9, r10
|
2019-06-23 21:10:29 +00:00
|
|
|
randomx_isn_198:
|
2019-08-30 08:16:11 +00:00
|
|
|
; FMUL_R e3, a0
|
|
|
|
mulpd xmm7, xmm8
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_199:
|
2019-08-30 08:16:11 +00:00
|
|
|
; IMUL_R r2, r3
|
|
|
|
imul r10, r11
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_200:
|
2019-08-30 08:16:11 +00:00
|
|
|
; IMUL_RCP r1, 193535702
|
|
|
|
mov rax, 12792885514067893012
|
|
|
|
imul r9, rax
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_201:
|
2019-08-30 08:16:11 +00:00
|
|
|
; IMUL_R r0, r5
|
|
|
|
imul r8, r13
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_202:
|
2019-08-30 08:16:11 +00:00
|
|
|
; ISUB_R r1, r2
|
|
|
|
sub r9, r10
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_203:
|
2019-08-30 08:16:11 +00:00
|
|
|
; FSUB_R f0, a3
|
|
|
|
subpd xmm0, xmm11
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_204:
|
2019-08-30 08:16:11 +00:00
|
|
|
; FSQRT_R e3
|
|
|
|
sqrtpd xmm7, xmm7
|
2019-04-30 19:19:55 +00:00
|
|
|
randomx_isn_205:
|
2019-08-30 08:16:11 +00:00
|
|
|
; FMUL_R e0, a3
|
|
|
|
mulpd xmm4, xmm11
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_206:
|
2019-08-30 08:16:11 +00:00
|
|
|
; IMUL_R r2, r1
|
|
|
|
imul r10, r9
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_207:
|
2019-08-30 08:16:11 +00:00
|
|
|
; IADD_RS r1, r1, SHFT 3
|
|
|
|
lea r9, [r9+r9*8]
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_208:
|
2019-08-30 08:16:11 +00:00
|
|
|
; ISUB_R r6, r4
|
|
|
|
sub r14, r12
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_209:
|
2019-08-30 08:16:11 +00:00
|
|
|
; ISUB_R r0, r7
|
|
|
|
sub r8, r15
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_210:
|
2019-08-30 08:16:11 +00:00
|
|
|
; IADD_M r6, L1[r1+313140284]
|
|
|
|
lea eax, [r9d+313140284]
|
|
|
|
and eax, 16376
|
|
|
|
add r14, qword ptr [rsi+rax]
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_211:
|
2019-08-30 08:16:11 +00:00
|
|
|
; CBRANCH r4, 1358359929, COND 11
|
|
|
|
add r12, 1358622073
|
|
|
|
test r12, 133693440
|
|
|
|
jz randomx_isn_197
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_212:
|
2019-08-30 08:16:11 +00:00
|
|
|
; FSQRT_R e0
|
|
|
|
sqrtpd xmm4, xmm4
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_213:
|
2019-08-30 08:16:11 +00:00
|
|
|
; ISTORE L1[r3+18641493], r5
|
|
|
|
lea eax, [r11d+18641493]
|
|
|
|
and eax, 16376
|
|
|
|
mov qword ptr [rsi+rax], r13
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_214:
|
2019-08-30 08:16:11 +00:00
|
|
|
; CBRANCH r2, 1232471888, COND 7
|
|
|
|
add r10, 1232504656
|
|
|
|
test r10, 8355840
|
|
|
|
jz randomx_isn_212
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_215:
|
2019-08-30 08:16:11 +00:00
|
|
|
; IADD_M r1, L1[r3+1138069575]
|
|
|
|
lea eax, [r11d+1138069575]
|
2019-06-23 21:10:29 +00:00
|
|
|
and eax, 16376
|
2019-08-30 08:16:11 +00:00
|
|
|
add r9, qword ptr [rsi+rax]
|
|
|
|
randomx_isn_216:
|
|
|
|
; FSQRT_R e0
|
|
|
|
sqrtpd xmm4, xmm4
|
2019-05-05 17:27:06 +00:00
|
|
|
randomx_isn_217:
|
2019-08-30 08:16:11 +00:00
|
|
|
; IMUL_R r3, r4
|
|
|
|
imul r11, r12
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_218:
|
2019-08-30 08:16:11 +00:00
|
|
|
; FMUL_R e3, a3
|
|
|
|
mulpd xmm7, xmm11
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_219:
|
2019-08-30 08:16:11 +00:00
|
|
|
; IROL_R r7, r1
|
|
|
|
mov ecx, r9d
|
|
|
|
rol r15, cl
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_220:
|
2019-08-30 08:16:11 +00:00
|
|
|
; FMUL_R e2, a1
|
|
|
|
mulpd xmm6, xmm9
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_221:
|
2019-08-30 08:16:11 +00:00
|
|
|
; IXOR_M r2, L3[697832]
|
|
|
|
xor r10, qword ptr [rsi+697832]
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_222:
|
2019-08-30 08:16:11 +00:00
|
|
|
; IADD_RS r1, r6, SHFT 2
|
|
|
|
lea r9, [r9+r14*4]
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_223:
|
2019-08-30 08:16:11 +00:00
|
|
|
; ISWAP_R r6, r2
|
|
|
|
xchg r14, r10
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_224:
|
2019-08-30 08:16:11 +00:00
|
|
|
; ISUB_R r0, r1
|
|
|
|
sub r8, r9
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_225:
|
2019-06-23 21:10:29 +00:00
|
|
|
; FSQRT_R e3
|
|
|
|
sqrtpd xmm7, xmm7
|
2019-08-30 08:16:11 +00:00
|
|
|
randomx_isn_226:
|
|
|
|
; ISUB_R r5, r1
|
|
|
|
sub r13, r9
|
|
|
|
randomx_isn_227:
|
|
|
|
; ISTORE L1[r0+238217802], r2
|
|
|
|
lea eax, [r8d+238217802]
|
|
|
|
and eax, 16376
|
|
|
|
mov qword ptr [rsi+rax], r10
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_228:
|
2019-08-30 08:16:11 +00:00
|
|
|
; IMUL_RCP r5, 324261767
|
|
|
|
mov rax, 15270872674734795667
|
|
|
|
imul r13, rax
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_229:
|
2019-08-30 08:16:11 +00:00
|
|
|
; FSCAL_R f0
|
|
|
|
xorps xmm0, xmm15
|
2019-05-05 17:27:06 +00:00
|
|
|
randomx_isn_230:
|
2019-08-30 08:16:11 +00:00
|
|
|
; FSQRT_R e3
|
|
|
|
sqrtpd xmm7, xmm7
|
2019-05-05 17:27:06 +00:00
|
|
|
randomx_isn_231:
|
2019-08-30 08:16:11 +00:00
|
|
|
; IROL_R r1, r5
|
|
|
|
mov ecx, r13d
|
|
|
|
rol r9, cl
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_232:
|
2019-08-30 08:16:11 +00:00
|
|
|
; ISUB_R r6, r1
|
|
|
|
sub r14, r9
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_233:
|
2019-08-30 08:16:11 +00:00
|
|
|
; FADD_R f2, a0
|
|
|
|
addpd xmm2, xmm8
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_234:
|
2019-08-30 08:16:11 +00:00
|
|
|
; FADD_R f1, a3
|
|
|
|
addpd xmm1, xmm11
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_235:
|
2019-08-30 08:16:11 +00:00
|
|
|
; IXOR_R r3, 1240450588
|
|
|
|
xor r11, 1240450588
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_236:
|
2019-08-30 08:16:11 +00:00
|
|
|
; FSUB_R f1, a2
|
|
|
|
subpd xmm1, xmm10
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_237:
|
2019-08-30 08:16:11 +00:00
|
|
|
; IMULH_R r6, r3
|
|
|
|
mov rax, r14
|
|
|
|
mul r11
|
|
|
|
mov r14, rdx
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_238:
|
2019-08-30 08:16:11 +00:00
|
|
|
; FSUB_R f1, a3
|
|
|
|
subpd xmm1, xmm11
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_239:
|
2019-08-30 08:16:11 +00:00
|
|
|
; FSUB_R f1, a2
|
|
|
|
subpd xmm1, xmm10
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_240:
|
2019-08-30 08:16:11 +00:00
|
|
|
; FSUB_M f1, L1[r7+1330184615]
|
|
|
|
lea eax, [r15d+1330184615]
|
|
|
|
and eax, 16376
|
|
|
|
cvtdq2pd xmm12, qword ptr [rsi+rax]
|
|
|
|
subpd xmm1, xmm12
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_241:
|
2019-08-30 08:16:11 +00:00
|
|
|
; FMUL_R e2, a3
|
|
|
|
mulpd xmm6, xmm11
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_242:
|
2019-08-30 08:16:11 +00:00
|
|
|
; CBRANCH r3, -427325404, COND 11
|
|
|
|
add r11, -427063260
|
|
|
|
test r11, 133693440
|
|
|
|
jz randomx_isn_236
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_243:
|
2019-08-30 08:16:11 +00:00
|
|
|
; IMUL_R r5, r7
|
|
|
|
imul r13, r15
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_244:
|
2019-08-30 08:16:11 +00:00
|
|
|
; FMUL_R e3, a3
|
|
|
|
mulpd xmm7, xmm11
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_245:
|
2019-08-30 08:16:11 +00:00
|
|
|
; ISMULH_M r7, L1[r0-84959236]
|
|
|
|
lea ecx, [r8d-84959236]
|
|
|
|
and ecx, 16376
|
|
|
|
mov rax, r15
|
|
|
|
imul qword ptr [rsi+rcx]
|
|
|
|
mov r15, rdx
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_246:
|
2019-08-30 08:16:11 +00:00
|
|
|
; IMUL_R r6, r1
|
|
|
|
imul r14, r9
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_247:
|
2019-08-30 08:16:11 +00:00
|
|
|
; FMUL_R e2, a1
|
|
|
|
mulpd xmm6, xmm9
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_248:
|
2019-08-30 08:16:11 +00:00
|
|
|
; IADD_M r1, L2[r3+1223504721]
|
|
|
|
lea eax, [r11d+1223504721]
|
|
|
|
and eax, 262136
|
|
|
|
add r9, qword ptr [rsi+rax]
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_249:
|
2019-08-30 08:16:11 +00:00
|
|
|
; FADD_R f1, a2
|
|
|
|
addpd xmm1, xmm10
|
2019-06-23 21:10:29 +00:00
|
|
|
randomx_isn_250:
|
2019-08-30 08:16:11 +00:00
|
|
|
; IXOR_M r4, L1[r2-1447740505]
|
|
|
|
lea eax, [r10d-1447740505]
|
2019-06-23 21:10:29 +00:00
|
|
|
and eax, 16376
|
2019-08-30 08:16:11 +00:00
|
|
|
xor r12, qword ptr [rsi+rax]
|
|
|
|
randomx_isn_251:
|
|
|
|
; IXOR_R r0, r5
|
|
|
|
xor r8, r13
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_252:
|
2019-08-30 08:16:11 +00:00
|
|
|
; CBRANCH r4, -1337905977, COND 4
|
|
|
|
add r12, -1337903929
|
|
|
|
test r12, 1044480
|
|
|
|
jz randomx_isn_251
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_253:
|
2019-08-30 08:16:11 +00:00
|
|
|
; FSUB_R f1, a1
|
|
|
|
subpd xmm1, xmm9
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_254:
|
2019-08-30 08:16:11 +00:00
|
|
|
; FMUL_R e0, a0
|
|
|
|
mulpd xmm4, xmm8
|
2019-03-17 22:09:11 +00:00
|
|
|
randomx_isn_255:
|
2019-08-30 08:16:11 +00:00
|
|
|
; CBRANCH r5, 437071043, COND 11
|
|
|
|
add r13, 436808899
|
|
|
|
test r13, 133693440
|
|
|
|
jz randomx_isn_253
|