mirror of
https://github.com/mii443/wasmer.git
synced 2025-08-24 09:19:25 +00:00
Upgrade wasmparser to 0.63
This commit is contained in:
@ -2491,7 +2491,7 @@ impl<'ctx, 'a> LLVMFunctionCodeGenerator<'ctx, 'a> {
|
||||
let res = self.builder.build_bitcast(res, self.intrinsics.i128_ty, "");
|
||||
self.state.push1(res);
|
||||
}
|
||||
Operator::I8x16AddSaturateS => {
|
||||
Operator::I8x16AddSatS => {
|
||||
let ((v1, i1), (v2, i2)) = self.state.pop2_extra()?;
|
||||
let (v1, _) = self.v128_into_i8x16(v1, i1);
|
||||
let (v2, _) = self.v128_into_i8x16(v2, i2);
|
||||
@ -2508,7 +2508,7 @@ impl<'ctx, 'a> LLVMFunctionCodeGenerator<'ctx, 'a> {
|
||||
let res = self.builder.build_bitcast(res, self.intrinsics.i128_ty, "");
|
||||
self.state.push1(res);
|
||||
}
|
||||
Operator::I16x8AddSaturateS => {
|
||||
Operator::I16x8AddSatS => {
|
||||
let ((v1, i1), (v2, i2)) = self.state.pop2_extra()?;
|
||||
let (v1, _) = self.v128_into_i16x8(v1, i1);
|
||||
let (v2, _) = self.v128_into_i16x8(v2, i2);
|
||||
@ -2525,7 +2525,7 @@ impl<'ctx, 'a> LLVMFunctionCodeGenerator<'ctx, 'a> {
|
||||
let res = self.builder.build_bitcast(res, self.intrinsics.i128_ty, "");
|
||||
self.state.push1(res);
|
||||
}
|
||||
Operator::I8x16AddSaturateU => {
|
||||
Operator::I8x16AddSatU => {
|
||||
let ((v1, i1), (v2, i2)) = self.state.pop2_extra()?;
|
||||
let (v1, _) = self.v128_into_i8x16(v1, i1);
|
||||
let (v2, _) = self.v128_into_i8x16(v2, i2);
|
||||
@ -2542,7 +2542,7 @@ impl<'ctx, 'a> LLVMFunctionCodeGenerator<'ctx, 'a> {
|
||||
let res = self.builder.build_bitcast(res, self.intrinsics.i128_ty, "");
|
||||
self.state.push1(res);
|
||||
}
|
||||
Operator::I16x8AddSaturateU => {
|
||||
Operator::I16x8AddSatU => {
|
||||
let ((v1, i1), (v2, i2)) = self.state.pop2_extra()?;
|
||||
let (v1, _) = self.v128_into_i16x8(v1, i1);
|
||||
let (v2, _) = self.v128_into_i16x8(v2, i2);
|
||||
@ -2599,7 +2599,7 @@ impl<'ctx, 'a> LLVMFunctionCodeGenerator<'ctx, 'a> {
|
||||
let res = self.builder.build_bitcast(res, self.intrinsics.i128_ty, "");
|
||||
self.state.push1(res);
|
||||
}
|
||||
Operator::I8x16SubSaturateS => {
|
||||
Operator::I8x16SubSatS => {
|
||||
let ((v1, i1), (v2, i2)) = self.state.pop2_extra()?;
|
||||
let (v1, _) = self.v128_into_i8x16(v1, i1);
|
||||
let (v2, _) = self.v128_into_i8x16(v2, i2);
|
||||
@ -2616,7 +2616,7 @@ impl<'ctx, 'a> LLVMFunctionCodeGenerator<'ctx, 'a> {
|
||||
let res = self.builder.build_bitcast(res, self.intrinsics.i128_ty, "");
|
||||
self.state.push1(res);
|
||||
}
|
||||
Operator::I16x8SubSaturateS => {
|
||||
Operator::I16x8SubSatS => {
|
||||
let ((v1, i1), (v2, i2)) = self.state.pop2_extra()?;
|
||||
let (v1, _) = self.v128_into_i16x8(v1, i1);
|
||||
let (v2, _) = self.v128_into_i16x8(v2, i2);
|
||||
@ -2633,7 +2633,7 @@ impl<'ctx, 'a> LLVMFunctionCodeGenerator<'ctx, 'a> {
|
||||
let res = self.builder.build_bitcast(res, self.intrinsics.i128_ty, "");
|
||||
self.state.push1(res);
|
||||
}
|
||||
Operator::I8x16SubSaturateU => {
|
||||
Operator::I8x16SubSatU => {
|
||||
let ((v1, i1), (v2, i2)) = self.state.pop2_extra()?;
|
||||
let (v1, _) = self.v128_into_i8x16(v1, i1);
|
||||
let (v2, _) = self.v128_into_i8x16(v2, i2);
|
||||
@ -2650,7 +2650,7 @@ impl<'ctx, 'a> LLVMFunctionCodeGenerator<'ctx, 'a> {
|
||||
let res = self.builder.build_bitcast(res, self.intrinsics.i128_ty, "");
|
||||
self.state.push1(res);
|
||||
}
|
||||
Operator::I16x8SubSaturateU => {
|
||||
Operator::I16x8SubSatU => {
|
||||
let ((v1, i1), (v2, i2)) = self.state.pop2_extra()?;
|
||||
let (v1, _) = self.v128_into_i16x8(v1, i1);
|
||||
let (v2, _) = self.v128_into_i16x8(v2, i2);
|
||||
@ -6971,7 +6971,7 @@ impl<'ctx, 'a> LLVMFunctionCodeGenerator<'ctx, 'a> {
|
||||
};
|
||||
self.state.push1_extra(res, info);
|
||||
}
|
||||
Operator::V8x16Swizzle => {
|
||||
Operator::I8x16Swizzle => {
|
||||
let ((v1, i1), (v2, i2)) = self.state.pop2_extra()?;
|
||||
let v1 = self.apply_pending_canonicalization(v1, i1);
|
||||
let v1 = self
|
||||
@ -7039,7 +7039,7 @@ impl<'ctx, 'a> LLVMFunctionCodeGenerator<'ctx, 'a> {
|
||||
let res = self.builder.build_bitcast(res, self.intrinsics.i128_ty, "");
|
||||
self.state.push1(res);
|
||||
}
|
||||
Operator::V8x16Shuffle { lanes } => {
|
||||
Operator::I8x16Shuffle { lanes } => {
|
||||
let ((v1, i1), (v2, i2)) = self.state.pop2_extra()?;
|
||||
let v1 = self.apply_pending_canonicalization(v1, i1);
|
||||
let v1 = self
|
||||
@ -7062,7 +7062,7 @@ impl<'ctx, 'a> LLVMFunctionCodeGenerator<'ctx, 'a> {
|
||||
let res = self.builder.build_bitcast(res, self.intrinsics.i128_ty, "");
|
||||
self.state.push1(res);
|
||||
}
|
||||
Operator::I16x8Load8x8S { ref memarg } => {
|
||||
Operator::V128Load8x8S { ref memarg } => {
|
||||
let offset = self.state.pop1()?.into_int_value();
|
||||
let memory_index = MemoryIndex::from_u32(0);
|
||||
let effective_address = self.resolve_memory_ptr(
|
||||
@ -7083,7 +7083,7 @@ impl<'ctx, 'a> LLVMFunctionCodeGenerator<'ctx, 'a> {
|
||||
let res = self.builder.build_bitcast(res, self.intrinsics.i128_ty, "");
|
||||
self.state.push1(res);
|
||||
}
|
||||
Operator::I16x8Load8x8U { ref memarg } => {
|
||||
Operator::V128Load8x8U { ref memarg } => {
|
||||
let offset = self.state.pop1()?.into_int_value();
|
||||
let memory_index = MemoryIndex::from_u32(0);
|
||||
let effective_address = self.resolve_memory_ptr(
|
||||
@ -7104,7 +7104,7 @@ impl<'ctx, 'a> LLVMFunctionCodeGenerator<'ctx, 'a> {
|
||||
let res = self.builder.build_bitcast(res, self.intrinsics.i128_ty, "");
|
||||
self.state.push1(res);
|
||||
}
|
||||
Operator::I32x4Load16x4S { ref memarg } => {
|
||||
Operator::V128Load16x4S { ref memarg } => {
|
||||
let offset = self.state.pop1()?.into_int_value();
|
||||
let memory_index = MemoryIndex::from_u32(0);
|
||||
let effective_address = self.resolve_memory_ptr(
|
||||
@ -7125,7 +7125,7 @@ impl<'ctx, 'a> LLVMFunctionCodeGenerator<'ctx, 'a> {
|
||||
let res = self.builder.build_bitcast(res, self.intrinsics.i128_ty, "");
|
||||
self.state.push1(res);
|
||||
}
|
||||
Operator::I32x4Load16x4U { ref memarg } => {
|
||||
Operator::V128Load16x4U { ref memarg } => {
|
||||
let offset = self.state.pop1()?.into_int_value();
|
||||
let memory_index = MemoryIndex::from_u32(0);
|
||||
let effective_address = self.resolve_memory_ptr(
|
||||
@ -7146,7 +7146,7 @@ impl<'ctx, 'a> LLVMFunctionCodeGenerator<'ctx, 'a> {
|
||||
let res = self.builder.build_bitcast(res, self.intrinsics.i128_ty, "");
|
||||
self.state.push1(res);
|
||||
}
|
||||
Operator::I64x2Load32x2S { ref memarg } => {
|
||||
Operator::V128Load32x2S { ref memarg } => {
|
||||
let offset = self.state.pop1()?.into_int_value();
|
||||
let memory_index = MemoryIndex::from_u32(0);
|
||||
let effective_address = self.resolve_memory_ptr(
|
||||
@ -7167,7 +7167,7 @@ impl<'ctx, 'a> LLVMFunctionCodeGenerator<'ctx, 'a> {
|
||||
let res = self.builder.build_bitcast(res, self.intrinsics.i128_ty, "");
|
||||
self.state.push1(res);
|
||||
}
|
||||
Operator::I64x2Load32x2U { ref memarg } => {
|
||||
Operator::V128Load32x2U { ref memarg } => {
|
||||
let offset = self.state.pop1()?.into_int_value();
|
||||
let memory_index = MemoryIndex::from_u32(0);
|
||||
let effective_address = self.resolve_memory_ptr(
|
||||
@ -7188,7 +7188,7 @@ impl<'ctx, 'a> LLVMFunctionCodeGenerator<'ctx, 'a> {
|
||||
let res = self.builder.build_bitcast(res, self.intrinsics.i128_ty, "");
|
||||
self.state.push1(res);
|
||||
}
|
||||
Operator::V8x16LoadSplat { ref memarg } => {
|
||||
Operator::V128Load8Splat { ref memarg } => {
|
||||
let offset = self.state.pop1()?.into_int_value();
|
||||
let memory_index = MemoryIndex::from_u32(0);
|
||||
let effective_address = self.resolve_memory_ptr(
|
||||
@ -7209,7 +7209,7 @@ impl<'ctx, 'a> LLVMFunctionCodeGenerator<'ctx, 'a> {
|
||||
let res = self.builder.build_bitcast(res, self.intrinsics.i128_ty, "");
|
||||
self.state.push1(res);
|
||||
}
|
||||
Operator::V16x8LoadSplat { ref memarg } => {
|
||||
Operator::V128Load16Splat { ref memarg } => {
|
||||
let offset = self.state.pop1()?.into_int_value();
|
||||
let memory_index = MemoryIndex::from_u32(0);
|
||||
let effective_address = self.resolve_memory_ptr(
|
||||
@ -7230,7 +7230,7 @@ impl<'ctx, 'a> LLVMFunctionCodeGenerator<'ctx, 'a> {
|
||||
let res = self.builder.build_bitcast(res, self.intrinsics.i128_ty, "");
|
||||
self.state.push1(res);
|
||||
}
|
||||
Operator::V32x4LoadSplat { ref memarg } => {
|
||||
Operator::V128Load32Splat { ref memarg } => {
|
||||
let offset = self.state.pop1()?.into_int_value();
|
||||
let memory_index = MemoryIndex::from_u32(0);
|
||||
let effective_address = self.resolve_memory_ptr(
|
||||
@ -7251,7 +7251,7 @@ impl<'ctx, 'a> LLVMFunctionCodeGenerator<'ctx, 'a> {
|
||||
let res = self.builder.build_bitcast(res, self.intrinsics.i128_ty, "");
|
||||
self.state.push1(res);
|
||||
}
|
||||
Operator::V64x2LoadSplat { ref memarg } => {
|
||||
Operator::V128Load64Splat { ref memarg } => {
|
||||
let offset = self.state.pop1()?.into_int_value();
|
||||
let memory_index = MemoryIndex::from_u32(0);
|
||||
let effective_address = self.resolve_memory_ptr(
|
||||
|
Reference in New Issue
Block a user