qbe

Internal scc patchset buffer for QBE
Log | Files | Refs | README | LICENSE

commit 2fd3a95d6f984b10b7169dbaa47f6b81324a2755
parent 3964574a8325ab802f98856195b8214dcce3124c
Author: Quentin Carbonneaux <quentin@c9x.me>
Date:   Fri, 28 Jan 2022 11:07:07 +0100

update token hash params

Diffstat:
Mparse.c | 2+-
Mtools/lexh.c | 3++-
2 files changed, 3 insertions(+), 2 deletions(-)

diff --git 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 @@ -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",