From fcedfddf00b3f994e4f4e40332ac7fc192c63244 Mon Sep 17 00:00:00 2001 From: polwex Date: Sun, 5 Oct 2025 21:56:51 +0700 Subject: claude is gud --- vere/ext/gmp/gen/x86_64-macos/mpn/gcd_11.s | 120 +++++++++++++++++++++++++++++ 1 file changed, 120 insertions(+) create mode 100644 vere/ext/gmp/gen/x86_64-macos/mpn/gcd_11.s (limited to 'vere/ext/gmp/gen/x86_64-macos/mpn/gcd_11.s') diff --git a/vere/ext/gmp/gen/x86_64-macos/mpn/gcd_11.s b/vere/ext/gmp/gen/x86_64-macos/mpn/gcd_11.s new file mode 100644 index 0000000..700ac46 --- /dev/null +++ b/vere/ext/gmp/gen/x86_64-macos/mpn/gcd_11.s @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + .text + .align 6, 0x90 + .globl ___gmpn_gcd_11 + + +___gmpn_gcd_11: + + + jmp Lodd + + .align 4, 0x90 +Ltop: cmovc %rdx, %rdi + cmovc %rax, %rsi + shr %cl, %rdi +Lodd: mov %rsi, %rdx + sub %rdi, %rdx + bsf %rdx, %rcx + mov %rdi, %rax + sub %rsi, %rdi + jnz Ltop + +Lend: + + + ret + + -- cgit v1.2.3