mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-22 16:47:28 +01:00
Refactor cgen's writeBuiltinCPUArchX86
This commit is contained in:
1 parent
1765863601
commit
d29cb7d304
3 files changed
+59
-54
No files matched your search
@@ -686,9 +686,11 @@ var Funcs = []string{
|
||||
|
||||
// ---- x86_m128i
|
||||
|
||||
"x86_m128i.store_slice64!(a: slice base.u8)",
|
||||
"x86_m128i.store_slice128!(a: slice base.u8)",
|
||||
|
||||
"x86_m128i.truncate_u32() u32",
|
||||
"x86_m128i.truncate_u64() u64",
|
||||
"x86_m128i.store_slice128!(a: slice base.u8)",
|
||||
|
||||
// TODO: generate these methods automatically?
|
||||
|
||||
|
||||
@@ -698,14 +698,6 @@ const (
|
||||
|
||||
// --------
|
||||
|
||||
IDStoreSlice64 = ID(0x380)
|
||||
IDStoreSlice128 = ID(0x381)
|
||||
IDStoreSlice256 = ID(0x382)
|
||||
IDStoreSlice512 = ID(0x383)
|
||||
|
||||
IDTruncateU32 = ID(0x388)
|
||||
IDTruncateU64 = ID(0x389)
|
||||
|
||||
IDCreateSlice64 = ID(0x390)
|
||||
IDCreateSlice128 = ID(0x391)
|
||||
)
|
||||
@@ -1111,14 +1103,6 @@ var builtInsByID = [nBuiltInIDs]string{
|
||||
|
||||
IDX86M128I: "x86_m128i",
|
||||
|
||||
IDStoreSlice64: "store_slice64",
|
||||
IDStoreSlice128: "store_slice128",
|
||||
IDStoreSlice256: "store_slice256",
|
||||
IDStoreSlice512: "store_slice512",
|
||||
|
||||
IDTruncateU32: "truncate_u32",
|
||||
IDTruncateU64: "truncate_u64",
|
||||
|
||||
IDCreateSlice64: "create_slice64",
|
||||
IDCreateSlice128: "create_slice128",
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user