Skip to content

Instantly share code, notes, and snippets.

@hanna-kruppe
Created August 10, 2015 19:16
Show Gist options
  • Save hanna-kruppe/6413a75ca6b480ef1f95 to your computer and use it in GitHub Desktop.
Save hanna-kruppe/6413a75ca6b480ef1f95 to your computer and use it in GitHub Desktop.
#![crate_type = "lib"]
pub fn foo(x: f64) -> f64 {
x * x
}
# ...
.Ltmp0:
.cfi_def_cfa_offset 24
movsd 24(%esp), %xmm0
movb $61, 19(%esp)
movsd %xmm0, 8(%esp)
mulsd %xmm0, %xmm0
movsd %xmm0, (%esp)
fldl (%esp)
addl $20, %esp
retl
# ...
rustc 1.4.0-nightly (a5d33d891 2015-08-08)
binary: rustc
commit-hash: a5d33d8911d3ea691cb152bc582ee443ae3619da
commit-date: 2015-08-08
host: i686-unknown-linux-gnu
release: 1.4.0-nightly
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment