summaryrefslogtreecommitdiff
path: root/test/llvm_autogenerated/store.wast
blob: 8ff0f023ad254c6eb21c295349ebccc74196aeb6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
(module
  (table 0 anyfunc)
  (memory $0 1)
  (data (i32.const 4) "\10\04\00\00")
  (export "memory" (memory $0))
  (export "sti32" (func $sti32))
  (export "sti64" (func $sti64))
  (export "stf32" (func $stf32))
  (export "stf64" (func $stf64))
  (func $sti32 (param $0 i32) (param $1 i32)
    (i32.store
      (get_local $0)
      (get_local $1)
    )
    (return)
  )
  (func $sti64 (param $0 i32) (param $1 i64)
    (i64.store
      (get_local $0)
      (get_local $1)
    )
    (return)
  )
  (func $stf32 (param $0 i32) (param $1 f32)
    (f32.store
      (get_local $0)
      (get_local $1)
    )
    (return)
  )
  (func $stf64 (param $0 i32) (param $1 f64)
    (f64.store
      (get_local $0)
      (get_local $1)
    )
    (return)
  )
)
;; METADATA: { "asmConsts": {},"staticBump": 1040, "initializers": [] }