diff options
Diffstat (limited to 'test/llvm_autogenerated/conv.s')
-rw-r--r-- | test/llvm_autogenerated/conv.s | 266 |
1 files changed, 266 insertions, 0 deletions
diff --git a/test/llvm_autogenerated/conv.s b/test/llvm_autogenerated/conv.s new file mode 100644 index 000000000..de7a7fd88 --- /dev/null +++ b/test/llvm_autogenerated/conv.s @@ -0,0 +1,266 @@ + .text + .file "/s/llvm/llvm/test/CodeGen/WebAssembly/conv.ll" + .globl i32_wrap_i64 + .type i32_wrap_i64,@function +i32_wrap_i64: + .param i64 + .result i32 + i32.wrap/i64 $push0=, $0 + return $pop0 +func_end0: + .size i32_wrap_i64, func_end0-i32_wrap_i64 + + .globl i64_extend_s_i32 + .type i64_extend_s_i32,@function +i64_extend_s_i32: + .param i32 + .result i64 + i64.extend_s/i32 $push0=, $0 + return $pop0 +func_end1: + .size i64_extend_s_i32, func_end1-i64_extend_s_i32 + + .globl i64_extend_u_i32 + .type i64_extend_u_i32,@function +i64_extend_u_i32: + .param i32 + .result i64 + i64.extend_u/i32 $push0=, $0 + return $pop0 +func_end2: + .size i64_extend_u_i32, func_end2-i64_extend_u_i32 + + .globl i32_trunc_s_f32 + .type i32_trunc_s_f32,@function +i32_trunc_s_f32: + .param f32 + .result i32 + i32.trunc_s/f32 $push0=, $0 + return $pop0 +func_end3: + .size i32_trunc_s_f32, func_end3-i32_trunc_s_f32 + + .globl i32_trunc_u_f32 + .type i32_trunc_u_f32,@function +i32_trunc_u_f32: + .param f32 + .result i32 + i32.trunc_u/f32 $push0=, $0 + return $pop0 +func_end4: + .size i32_trunc_u_f32, func_end4-i32_trunc_u_f32 + + .globl i32_trunc_s_f64 + .type i32_trunc_s_f64,@function +i32_trunc_s_f64: + .param f64 + .result i32 + i32.trunc_s/f64 $push0=, $0 + return $pop0 +func_end5: + .size i32_trunc_s_f64, func_end5-i32_trunc_s_f64 + + .globl i32_trunc_u_f64 + .type i32_trunc_u_f64,@function +i32_trunc_u_f64: + .param f64 + .result i32 + i32.trunc_u/f64 $push0=, $0 + return $pop0 +func_end6: + .size i32_trunc_u_f64, func_end6-i32_trunc_u_f64 + + .globl i64_trunc_s_f32 + .type i64_trunc_s_f32,@function +i64_trunc_s_f32: + .param f32 + .result i64 + i64.trunc_s/f32 $push0=, $0 + return $pop0 +func_end7: + .size i64_trunc_s_f32, func_end7-i64_trunc_s_f32 + + .globl i64_trunc_u_f32 + .type i64_trunc_u_f32,@function +i64_trunc_u_f32: + .param f32 + .result i64 + i64.trunc_u/f32 $push0=, $0 + return $pop0 +func_end8: + .size i64_trunc_u_f32, func_end8-i64_trunc_u_f32 + + .globl i64_trunc_s_f64 + .type i64_trunc_s_f64,@function +i64_trunc_s_f64: + .param f64 + .result i64 + i64.trunc_s/f64 $push0=, $0 + return $pop0 +func_end9: + .size i64_trunc_s_f64, func_end9-i64_trunc_s_f64 + + .globl i64_trunc_u_f64 + .type i64_trunc_u_f64,@function +i64_trunc_u_f64: + .param f64 + .result i64 + i64.trunc_u/f64 $push0=, $0 + return $pop0 +func_end10: + .size i64_trunc_u_f64, func_end10-i64_trunc_u_f64 + + .globl f32_convert_s_i32 + .type f32_convert_s_i32,@function +f32_convert_s_i32: + .param i32 + .result f32 + f32.convert_s/i32 $push0=, $0 + return $pop0 +func_end11: + .size f32_convert_s_i32, func_end11-f32_convert_s_i32 + + .globl f32_convert_u_i32 + .type f32_convert_u_i32,@function +f32_convert_u_i32: + .param i32 + .result f32 + f32.convert_u/i32 $push0=, $0 + return $pop0 +func_end12: + .size f32_convert_u_i32, func_end12-f32_convert_u_i32 + + .globl f64_convert_s_i32 + .type f64_convert_s_i32,@function +f64_convert_s_i32: + .param i32 + .result f64 + f64.convert_s/i32 $push0=, $0 + return $pop0 +func_end13: + .size f64_convert_s_i32, func_end13-f64_convert_s_i32 + + .globl f64_convert_u_i32 + .type f64_convert_u_i32,@function +f64_convert_u_i32: + .param i32 + .result f64 + f64.convert_u/i32 $push0=, $0 + return $pop0 +func_end14: + .size f64_convert_u_i32, func_end14-f64_convert_u_i32 + + .globl f32_convert_s_i64 + .type f32_convert_s_i64,@function +f32_convert_s_i64: + .param i64 + .result f32 + f32.convert_s/i64 $push0=, $0 + return $pop0 +func_end15: + .size f32_convert_s_i64, func_end15-f32_convert_s_i64 + + .globl f32_convert_u_i64 + .type f32_convert_u_i64,@function +f32_convert_u_i64: + .param i64 + .result f32 + f32.convert_u/i64 $push0=, $0 + return $pop0 +func_end16: + .size f32_convert_u_i64, func_end16-f32_convert_u_i64 + + .globl f64_convert_s_i64 + .type f64_convert_s_i64,@function +f64_convert_s_i64: + .param i64 + .result f64 + f64.convert_s/i64 $push0=, $0 + return $pop0 +func_end17: + .size f64_convert_s_i64, func_end17-f64_convert_s_i64 + + .globl f64_convert_u_i64 + .type f64_convert_u_i64,@function +f64_convert_u_i64: + .param i64 + .result f64 + f64.convert_u/i64 $push0=, $0 + return $pop0 +func_end18: + .size f64_convert_u_i64, func_end18-f64_convert_u_i64 + + .globl f64_promote_f32 + .type f64_promote_f32,@function +f64_promote_f32: + .param f32 + .result f64 + f64.promote/f32 $push0=, $0 + return $pop0 +func_end19: + .size f64_promote_f32, func_end19-f64_promote_f32 + + .globl f32_demote_f64 + .type f32_demote_f64,@function +f32_demote_f64: + .param f64 + .result f32 + f32.demote/f64 $push0=, $0 + return $pop0 +func_end20: + .size f32_demote_f64, func_end20-f32_demote_f64 + + .globl anyext + .type anyext,@function +anyext: + .param i32 + .result i64 + i64.extend_u/i32 $push0=, $0 + i64.const $push1=, 32 + i64.shl $push2=, $pop0, $pop1 + return $pop2 +func_end21: + .size anyext, func_end21-anyext + + .globl bitcast_i32_to_float + .type bitcast_i32_to_float,@function +bitcast_i32_to_float: + .param i32 + .result f32 + f32.reinterpret/i32 $push0=, $0 + return $pop0 +func_end22: + .size bitcast_i32_to_float, func_end22-bitcast_i32_to_float + + .globl bitcast_float_to_i32 + .type bitcast_float_to_i32,@function +bitcast_float_to_i32: + .param f32 + .result i32 + i32.reinterpret/f32 $push0=, $0 + return $pop0 +func_end23: + .size bitcast_float_to_i32, func_end23-bitcast_float_to_i32 + + .globl bitcast_i64_to_double + .type bitcast_i64_to_double,@function +bitcast_i64_to_double: + .param i64 + .result f64 + f64.reinterpret/i64 $push0=, $0 + return $pop0 +func_end24: + .size bitcast_i64_to_double, func_end24-bitcast_i64_to_double + + .globl bitcast_double_to_i64 + .type bitcast_double_to_i64,@function +bitcast_double_to_i64: + .param f64 + .result i64 + i64.reinterpret/f64 $push0=, $0 + return $pop0 +func_end25: + .size bitcast_double_to_i64, func_end25-bitcast_double_to_i64 + + + .section ".note.GNU-stack","",@progbits |