summaryrefslogtreecommitdiff
path: root/vere/ext/gmp/gen/aarch64-linux/mpn/ior_n.s
diff options
context:
space:
mode:
authorpolwex <polwex@sortug.com>2025-10-05 21:56:51 +0700
committerpolwex <polwex@sortug.com>2025-10-05 21:56:51 +0700
commitfcedfddf00b3f994e4f4e40332ac7fc192c63244 (patch)
tree51d38e62c7bdfcc5f9a5e9435fe820c93cfc9a3d /vere/ext/gmp/gen/aarch64-linux/mpn/ior_n.s
claude is gud
Diffstat (limited to 'vere/ext/gmp/gen/aarch64-linux/mpn/ior_n.s')
-rw-r--r--vere/ext/gmp/gen/aarch64-linux/mpn/ior_n.s127
1 files changed, 127 insertions, 0 deletions
diff --git a/vere/ext/gmp/gen/aarch64-linux/mpn/ior_n.s b/vere/ext/gmp/gen/aarch64-linux/mpn/ior_n.s
new file mode 100644
index 0000000..e94c0f4
--- /dev/null
+++ b/vere/ext/gmp/gen/aarch64-linux/mpn/ior_n.s
@@ -0,0 +1,127 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ .text
+ .align 3
+ .globl __gmpn_ior_n
+ .type __gmpn_ior_n,@function
+__gmpn_ior_n:
+ lsr x18, x3, #2
+ tbz x3, #0, .Lbx0
+
+.Lbx1: ldr x7, [x1]
+ ldr x11, [x2]
+ orr x15, x7, x11
+ str x15, [x0],#8
+ tbnz x3, #1, .Lb11
+
+.Lb01: cbz x18, .Lret
+ ldp x4, x5, [x1,#8]
+ ldp x8, x9, [x2,#8]
+ sub x1, x1, #8
+ sub x2, x2, #8
+ b .Lmid
+
+.Lb11: ldp x6, x7, [x1,#8]
+ ldp x10, x11, [x2,#8]
+ add x1, x1, #8
+ add x2, x2, #8
+ cbz x18, .Lend
+ b .Ltop
+
+.Lbx0: tbnz x3, #1, .Lb10
+
+.Lb00: ldp x4, x5, [x1],#-16
+ ldp x8, x9, [x2],#-16
+ b .Lmid
+
+.Lb10: ldp x6, x7, [x1]
+ ldp x10, x11, [x2]
+ cbz x18, .Lend
+
+ .align 4
+.Ltop: ldp x4, x5, [x1,#16]
+ ldp x8, x9, [x2,#16]
+ orr x12, x6, x10
+ orr x13, x7, x11
+ stp x12, x13, [x0],#16
+.Lmid: ldp x6, x7, [x1,#32]!
+ ldp x10, x11, [x2,#32]!
+ orr x12, x4, x8
+ orr x13, x5, x9
+ stp x12, x13, [x0],#16
+ sub x18, x18, #1
+ cbnz x18, .Ltop
+
+.Lend: orr x12, x6, x10
+ orr x13, x7, x11
+ stp x12, x13, [x0]
+.Lret: ret
+ .size __gmpn_ior_n,.-__gmpn_ior_n