macaw/macaw-ppc
Tristan Ravitch ff80d7e676 Improve the TH generator for instruction matchers (i.e., execInstruction)
The previous generator put all of the code for each matcher in a single large
case expression.  While there were individual functions broken out for each case
body, they were all still in the same let expression, which created a huge term.

This refactoring lifts all of the semantics definition bodies to the top
level (with NOINLINE pragmas) to give the code generator less to chew on at a
time.

This improves compile times a little, but, more importantly, works around a bug
in the register allocator in GHC 8.4 that caused a crash in the PowerPC
semantics functions.
2018-07-26 17:17:09 -07:00
..
src/Data/Macaw Improve the TH generator for instruction matchers (i.e., execInstruction) 2018-07-26 17:17:09 -07:00
tests Update the PowerPC tests to deal with the latest macaw-semmc changes 2018-05-21 14:32:29 -07:00
ChangeLog.md first commit 2017-08-28 15:48:55 -07:00
LICENSE first commit 2017-08-28 15:48:55 -07:00
macaw-ppc.cabal Update the PowerPC tests to deal with the latest macaw-semmc changes 2018-05-21 14:32:29 -07:00
Setup.hs first commit 2017-08-28 15:48:55 -07:00