Jeffrey Charles
1 year ago
committed by
GitHub
12 changed files with 160 additions and 0 deletions
@ -0,0 +1,21 @@ |
|||
;;! target = "x86_64" |
|||
|
|||
(module |
|||
(func (result f32) |
|||
(f32.const 1.32) |
|||
(f32.sqrt) |
|||
) |
|||
) |
|||
;; 0: 55 push rbp |
|||
;; 1: 4889e5 mov rbp, rsp |
|||
;; 4: 4883ec08 sub rsp, 8 |
|||
;; 8: 4c893424 mov qword ptr [rsp], r14 |
|||
;; c: f30f10050c000000 movss xmm0, dword ptr [rip + 0xc] |
|||
;; 14: f30f51c0 sqrtss xmm0, xmm0 |
|||
;; 18: 4883c408 add rsp, 8 |
|||
;; 1c: 5d pop rbp |
|||
;; 1d: c3 ret |
|||
;; 1e: 0000 add byte ptr [rax], al |
|||
;; 20: c3 ret |
|||
;; 21: f5 cmc |
|||
;; 22: a83f test al, 0x3f |
@ -0,0 +1,18 @@ |
|||
;;! target = "x86_64" |
|||
|
|||
(module |
|||
(func (param f32) (result f32) |
|||
(local.get 0) |
|||
(f32.sqrt) |
|||
) |
|||
) |
|||
;; 0: 55 push rbp |
|||
;; 1: 4889e5 mov rbp, rsp |
|||
;; 4: 4883ec10 sub rsp, 0x10 |
|||
;; 8: f30f1144240c movss dword ptr [rsp + 0xc], xmm0 |
|||
;; e: 4c89742404 mov qword ptr [rsp + 4], r14 |
|||
;; 13: f30f1044240c movss xmm0, dword ptr [rsp + 0xc] |
|||
;; 19: f30f51c0 sqrtss xmm0, xmm0 |
|||
;; 1d: 4883c410 add rsp, 0x10 |
|||
;; 21: 5d pop rbp |
|||
;; 22: c3 ret |
@ -0,0 +1,18 @@ |
|||
;;! target = "x86_64" |
|||
|
|||
(module |
|||
(func (result f64) |
|||
(f64.const 1.32) |
|||
(f64.sqrt) |
|||
) |
|||
) |
|||
;; 0: 55 push rbp |
|||
;; 1: 4889e5 mov rbp, rsp |
|||
;; 4: 4883ec08 sub rsp, 8 |
|||
;; 8: 4c893424 mov qword ptr [rsp], r14 |
|||
;; c: f20f10050c000000 movsd xmm0, qword ptr [rip + 0xc] |
|||
;; 14: f20f51c0 sqrtsd xmm0, xmm0 |
|||
;; 18: 4883c408 add rsp, 8 |
|||
;; 1c: 5d pop rbp |
|||
;; 1d: c3 ret |
|||
;; 1e: 0000 add byte ptr [rax], al |
@ -0,0 +1,18 @@ |
|||
;;! target = "x86_64" |
|||
|
|||
(module |
|||
(func (param f64) (result f64) |
|||
(local.get 0) |
|||
(f64.sqrt) |
|||
) |
|||
) |
|||
;; 0: 55 push rbp |
|||
;; 1: 4889e5 mov rbp, rsp |
|||
;; 4: 4883ec10 sub rsp, 0x10 |
|||
;; 8: f20f11442408 movsd qword ptr [rsp + 8], xmm0 |
|||
;; e: 4c893424 mov qword ptr [rsp], r14 |
|||
;; 12: f20f10442408 movsd xmm0, qword ptr [rsp + 8] |
|||
;; 18: f20f51c0 sqrtsd xmm0, xmm0 |
|||
;; 1c: 4883c410 add rsp, 0x10 |
|||
;; 20: 5d pop rbp |
|||
;; 21: c3 ret |
Loading…
Reference in new issue