Commit graph

644 commits

Author SHA1 Message Date
Quentin Carbonneaux
a7ba1c3d2e complete abi3 test (fails) 2016-03-07 11:54:10 -05:00
Quentin Carbonneaux
6deb301f3e new abi test, driver is to do 2016-03-05 08:19:06 -05:00
Quentin Carbonneaux
8a87b3f1ff make bshas() inline 2016-03-04 15:44:50 -05:00
Quentin Carbonneaux
8d4b438ada ignore .out files 2016-03-04 10:37:35 -05:00
Quentin Carbonneaux
a5dffd6c24 bump up NIns, should not hurt us 2016-03-04 10:31:59 -05:00
Quentin Carbonneaux
4467769253 get rid of hard coded NBlk 2016-03-04 10:30:13 -05:00
Quentin Carbonneaux
169411a220 add some (easy) instructions 2016-03-03 17:40:48 -05:00
Quentin Carbonneaux
cf8da3a614 reduce runtime of cprime.ssa 2016-03-03 14:08:42 -05:00
Quentin Carbonneaux
f0e8e335f9 fix typo in abi2.ssa 2016-03-03 13:49:06 -05:00
Quentin Carbonneaux
e700d69004 build tests with -g and show returned error code 2016-03-03 13:47:18 -05:00
Quentin Carbonneaux
b0ce949583 new basic fp abi test 2016-03-03 13:45:54 -05:00
Quentin Carbonneaux
315a7a6f72 add new abi test 2016-03-03 13:39:24 -05:00
Quentin Carbonneaux
a515ea364f nicer aligned okays 2016-03-03 13:24:31 -05:00
Quentin Carbonneaux
5c0e64e5f6 fix output inconsistencies in test/go.sh 2016-03-03 13:19:46 -05:00
Quentin Carbonneaux
67f611fbef testbed is now functional
I would like to make sure some _ tests are
passing, however I have to think of a nice
way to grab debug output and compare it
nicely.  Some require NReg == 3, that is a
pain in the ass.  Maybe they can be changed
to work for the full register set.
2016-03-03 11:55:13 -05:00
Quentin Carbonneaux
99965071d2 complete testing routine 2016-03-03 09:44:06 -05:00
Quentin Carbonneaux
3a12c94b73 start work on automating tests 2016-03-02 22:11:50 -05:00
Quentin Carbonneaux
d419274b04 revert buggy test in memory refs emission 2016-02-29 11:28:07 -05:00
Quentin Carbonneaux
d3530271f8 cosmetics 2016-02-29 10:09:17 -05:00
Quentin Carbonneaux
addd42ceae group symbols together in tokens enum 2016-02-29 10:03:33 -05:00
Ori Bernstein
cf5b7b0fb3 Output end data marker to correct file. 2016-02-28 23:41:48 -08:00
Ori Bernstein
032c3eafdd Make err nonstatic. 2016-02-28 23:39:43 -08:00
Ori Bernstein
b65a6892dd Error properly on strings.
Don't print junk when we don't have 'b' for a string.
2016-02-28 20:47:24 -08:00
Ori Bernstein
542d89bcd5 Add zero fill data. 2016-02-28 20:39:41 -08:00
Ori Bernstein
8a9b0c5513 Add strings as 'b "foo"' 2016-02-28 20:36:01 -08:00
Ori Bernstein
50c5af4290 Allow trailing and ',' and references in data.
This change adds support for two things:

		data $foo {l 123,}

	Which allows easier machine generation of data
	statements. It also adds the ability to parse
	and emit references in data declarations.
2016-02-28 20:16:20 -08:00
Ori Bernstein
ec7c4e0d60 Make parser slightly more accepting.
'_' is ok to start a symbol, and '$' is an acceptable character
	within a symbol.
2016-02-28 19:40:06 -08:00
Ori Bernstein
7f738bb025 More standard/better error message formatting. 2016-02-28 19:38:11 -08:00
Quentin Carbonneaux
09c45b936d support -o option 2016-02-28 18:12:43 -05:00
Quentin Carbonneaux
7185c41110 simplify a little more limit2() 2016-02-27 22:39:12 -05:00
Quentin Carbonneaux
165392ab63 leave only the most important free todos 2016-02-27 22:36:58 -05:00
Quentin Carbonneaux
abc2557839 remove BITS constant 2016-02-27 13:43:12 -05:00
Quentin Carbonneaux
f6d5193cac use a new bits type for bitmaps 2016-02-27 13:41:57 -05:00
Quentin Carbonneaux
6f808867f1 oops, fix wrong bitset allocation 2016-02-26 16:28:35 -05:00
Quentin Carbonneaux
f74f18b13e make the comment greppable 2016-02-26 16:13:44 -05:00
Quentin Carbonneaux
eb26f0cded use memset to zero a bitset 2016-02-26 16:05:01 -05:00
Quentin Carbonneaux
c56148e7f9 get rid of Bits 2016-02-26 16:01:52 -05:00
Quentin Carbonneaux
a9a723e008 also catch stderr 2016-02-26 15:54:43 -05:00
Quentin Carbonneaux
ef5ae515a0 add regression testing script 2016-02-26 15:46:15 -05:00
Quentin Carbonneaux
e91a7788e0 bug in liveout()
Because of the bsclr() call, liveout was not actually
making the union correctly.  Instead of performing an
union, it now fully sets the bitset passed as parameter.
2016-02-26 15:40:19 -05:00
Quentin Carbonneaux
956154e06e dirty fix bogus bsiter() 2016-02-26 13:55:13 -05:00
Quentin Carbonneaux
06c2e75a76 compile everything 2016-02-26 13:46:32 -05:00
Quentin Carbonneaux
b487620955 use bitset in rega.c (broken) 2016-02-26 13:46:16 -05:00
Quentin Carbonneaux
5bff7146fd add cheapo static assert 2016-02-26 13:33:27 -05:00
Quentin Carbonneaux
6275cd6e06 use bitset in spill.c 2016-02-26 13:33:09 -05:00
Quentin Carbonneaux
744cf01321 convert ssa.c to bitsets 2016-02-26 12:51:43 -05:00
Quentin Carbonneaux
ad5dae18f4 move dumpts() into util, add bsequal() 2016-02-26 11:38:57 -05:00
Quentin Carbonneaux
987b3def33 start conversion to dynamic bitsets 2016-02-26 10:31:21 -05:00
Quentin Carbonneaux
3e104e532b a little code compaction 2016-02-25 15:05:40 -05:00
Quentin Carbonneaux
beda73643f add some bitset functions 2016-02-25 14:38:40 -05:00