remove F128

This commit is contained in:
Folkert 2022-12-14 23:28:38 +01:00
parent 6f2e14cf18
commit d287eafa3a
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C
15 changed files with 7 additions and 73 deletions

View file

@ -21,7 +21,6 @@ pub enum StackMemoryFormat {
/// Record, Str, List, etc.
DataStructure,
Int128,
Float128,
Decimal,
}
@ -71,11 +70,6 @@ impl WasmLayout {
match float_width {
F32 => Self::Primitive(ValueType::F32, size),
F64 => Self::Primitive(ValueType::F64, size),
F128 => Self::StackMemory {
size,
alignment_bytes,
format: StackMemoryFormat::Float128,
},
}
}
@ -156,7 +150,7 @@ impl CallConv {
use ValueType::*;
match format {
Int128 | Float128 | Decimal => &[I64, I64],
Int128 | Decimal => &[I64, I64],
DataStructure => {
if size == 0 {
@ -191,7 +185,7 @@ impl CallConv {
use StackMemoryFormat::*;
match format {
Int128 | Float128 | Decimal => WriteToPointerArg,
Int128 | Decimal => WriteToPointerArg,
DataStructure => {
if size == 0 {