path: root/util
AgeCommit message (Collapse)Author
2017-07-18Fix murmurhash2 when string length is a multiple of a 4Michael Forney
The first h *= m after the loop should only happen for len % 4 != 0.
2017-07-15Type binding refactoring now compiles.Ori Bernstein
Still a bit sloppy on a few things, needs some dedup work, but it's working.
2017-07-09Style(9)-ify.Ori Bernstein
2017-06-25Remove -WextraOri Bernstein
2017-02-17Search for usefiles relative to the output.Ori Bernstein
For most uses, this is equivalent to compiler cwd, but supports out of tree builds better. It also means that builds behave the same way regardless of the directory that the compiler is run from, which is convenient for testing. This also drops support for `.use` suffixes on local uses.
2017-01-15Back to a 9front C subset.Ori Bernstein
2017-01-09Remove type punning from hash function.Ori Bernstein
It was always a little ugly, and it seems to have caused an issue with -O3 builds on OpenBSD.
2017-01-09Speed up bitset.Ori Bernstein
Merge back Quentin's perf hacks.
2016-12-11Use rdbuf to read floats.Ori Bernstein
We were using fread, which returned the count (1), and erroring out here. Using rdbuf is both more consistent, and not broken.
2016-07-29Fix a bit of undefined behavior.Ori Bernstein
2016-05-25Improve hash functions.Ori Bernstein
2016-03-08compare the correct memory in strliteqAndrew Chambers
2016-03-03Fix odd "Unexpected argument" messageRyan Gonzalez
2016-02-28Plan 9 build should now work.Ori Bernstein
2016-02-24Use eltshift.Ori Bernstein
2016-02-24Move bitset.c to util dir.Ori Bernstein
2016-02-22Add missing makefile.Ori Bernstein
2016-02-22Move more stuff around in util code.Ori Bernstein
2016-02-22Extract util functions into separate dir from parse/Ori Bernstein
2012-09-27Rename 'util' directory to 'muse'.Ori Bernstein
One binary or library per directory with our build system.
2012-08-19Add to the manpages.Ori Bernstein
2012-08-01Don't crash when we can't open a file.Ori Bernstein
2012-07-25Make sure i is initializedOri Bernstein
2012-07-25Merge the symtabs correctly.Ori Bernstein
Due to naming issues, we were only putting in sub-symtabs. Not good.
2012-07-25Load the stab into the exports file.Ori Bernstein
2012-07-25refactor muse and add merging.Ori Bernstein
2012-07-22Fix bad instruction generation.Ori Bernstein
- Fixed name for setl (we called it setlt) - Disallowed generation of movzbb and similar.
2012-07-20sizeof(foo) should return a generic.Ori Bernstein
We want it to work with 'size' typedefs and such.
2012-06-20Start to cut down and specialize debug dumps.Ori Bernstein
They grew to the point of uselessness. Dump them.
2012-06-19Work towards making a "real" hello worldOri Bernstein
Proper syscalls, etc.
2012-06-17Make loading usefiles work completely.Ori Bernstein
2012-06-17Read and write the contents of usefiles properly.Ori Bernstein
Still to do: Merge it into the current symbol table.
2012-06-16Work towards getting usefiles going.Ori Bernstein
2012-06-15Make the utils build wit the new world order.Ori Bernstein
2012-06-15Rename files.Ori Bernstein