diff options
author | Eyal Sawady <ecs@d2evs.net> | 2022-01-17 22:00:48 +0000 |
---|---|---|
committer | Quentin Carbonneaux <quentin@c9x.me> | 2022-01-23 11:43:59 +0100 |
commit | e91d12158122b23271ff49de8977c92fef7f3908 (patch) | |
tree | ea5051ef69ae917f23249fe7a6adc8569deb3718 /parse.c | |
parent | 367c8215d99054892740ad74c690b106c45ebf60 (diff) | |
download | roux-e91d12158122b23271ff49de8977c92fef7f3908.tar.gz |
Add a negation instruction
Necessary for floating-point negation, because `%result = sub 0, %operand` doesn't give the correct sign for 0/-0.
Diffstat (limited to 'parse.c')
-rw-r--r-- | parse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/parse.c b/parse.c index 6e22e1f..c05c370 100644 --- a/parse.c +++ b/parse.c @@ -109,7 +109,7 @@ enum { TMask = 16383, /* for temps hash */ BMask = 8191, /* for blocks hash */ - K = 3233235, /* found using tools/lexh.c */ + K = 4331239, /* found using tools/lexh.c */ M = 23, }; |