From 2fd3a95d6f984b10b7169dbaa47f6b81324a2755 Mon Sep 17 00:00:00 2001 From: Quentin Carbonneaux Date: Fri, 28 Jan 2022 11:07:07 +0100 Subject: update token hash params --- parse.c | 2 +- tools/lexh.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/parse.c b/parse.c index e5143ce..e97b196 100644 --- a/parse.c +++ b/parse.c @@ -109,7 +109,7 @@ enum { TMask = 16383, /* for temps hash */ BMask = 8191, /* for blocks hash */ - K = 4331239, /* found using tools/lexh.c */ + K = 5041217, /* found using tools/lexh.c */ M = 23, }; diff --git a/tools/lexh.c b/tools/lexh.c index 3c5ae24..8d0af21 100644 --- a/tools/lexh.c +++ b/tools/lexh.c @@ -14,7 +14,8 @@ char *tok[] = { "load", "loadsw", "loaduw", "loadsh", "loaduh", "loadsb", "loadub", "extsw", "extuw", "extsh", "extuh", "extsb", "extub", "exts", "truncd", - "stosi", "dtosi", "swtof", "sltof", "cast", "copy", + "stosi", "dtosi", "stoui", "dtoui", "uwtof", + "ultof", "swtof", "sltof", "cast", "copy", "alloc4", "alloc8", "alloc16", "culew", "cultw", "cslew", "csltw", "csgtw", "csgew", "cugtw", "cugew", "ceqw", "cnew", "culel", "cultl", "cslel", -- cgit 1.4.1