Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- float foo() {
- volatile float f = 1.0;
- return cos(f);
- }
- 0000000000002864 <foo>:
- 2864: f3 0f 1e fa endbr64
- 2868: 55 push %rbp
- 2869: 48 89 e5 mov %rsp,%rbp
- 286c: 48 83 ec 10 sub $0x10,%rsp
- 2870: f3 0f 10 05 9c 67 00 movss 0x679c(%rip),%xmm0 # 9014 <_data+0x14>
- 2877: 00
- 2878: f3 0f 11 45 fc movss %xmm0,-0x4(%rbp)
- 287d: f3 0f 10 45 fc movss -0x4(%rbp),%xmm0
- 2882: f3 0f 5a c0 cvtss2sd %xmm0,%xmm0
- 2886: b8 01 00 00 00 mov $0x1,%eax
- 288b: e8 30 50 00 00 callq 78c0 <_etext+0x20>
- 2890: f3 0f 2a c0 cvtsi2ss %eax,%xmm0
- 2894: c9 leaveq
- 2895: c3 retq
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement