Skip to content

Instantly share code, notes, and snippets.

@AlexDaniel
Created September 24, 2020 21:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AlexDaniel/0b2f88f6348f97551bbbc041dc41be6c to your computer and use it in GitHub Desktop.
Save AlexDaniel/0b2f88f6348f97551bbbc041dc41be6c to your computer and use it in GitHub Desktop.
julia> function foo(a, b) a - b end
foo (generic function with 1 method)
julia> @code_native foo(2, 5)
.text
; ┌ @ REPL[1]:1 within `foo'
movq %rdi, %rax
; │┌ @ int.jl:85 within `-'
subq %rsi, %rax
; │└
retq
nopw (%rax,%rax)
; └
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment