startup-time icon indicating copy to clipboard operation
startup-time copied to clipboard

Adding an Assembly Version

Open JannesAlthoff opened this issue 1 year ago • 0 comments

Adding an assembly version as a base benchmark would be nice. I've attached a Assembly Version for x86 assembly, which is slightly better then gcc-musl.

.global _start

.text
_start:
    # Call Write
    movq $1, %rax 
    movq $1, %rdi 
    movq $msg, %rsi 
    movq $13, %rdx 
    syscall

    # Call sys_exit
    movq $60, %rax
    movq $0, %rdi
    syscall

.data
msg:
    .ascii "Hello World!\n"

JannesAlthoff avatar Apr 07 '24 11:04 JannesAlthoff