summaryrefslogtreecommitdiff
path: root/chapter14/src/main/java
Commit message (Collapse)AuthorAgeFilesLines
* remove peephole from ProjNode::idealize that is already handled by computeRobert Obkircher2024-09-161-10/+7
|
* Folding loads before phis needs more work (#116)Cliff Click2024-09-1511-36/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Folding loads before phis needs more work Have to check load alias & offset/field match. Could work for stores as well, will need to check more inputs * Preserve SAR/SHL sharpness with variant shifts * phi-node cloning honors unrelated argument types * bool can never do phiCon * dont fold shifts outside the range 0-63 * Now allowed to fold Loads in Phi Because honors glb() of inputs * Correct shr of mixed sign * yank load merge again needs an anti-dep check * Stop phi-merge if it loses precision * wrap bug
* fix Minus wrapping MIN_LONGCliff Click2024-09-151-1/+3
|
* move x-x check up frontCliff Click2024-09-131-3/+4
|
* x-x==0Cliff Click2024-09-132-5/+10
| | | | | | Move x-x==0 to compute. Add x/1 ==> x All chapters
* Fix GCM of CSE storesCliff Click2024-09-124-13/+8
| | | | | Stop CSE of stores. Backports to ch11,12,13,14
* Remove commutative peepholes for shiftsThalia Archibald2024-09-073-18/+3
|
* Fix typos in chapter 14Thalia Archibald2024-09-073-11/+11
|
* README includes more design decisions for type names.Cliff Click2024-09-074-4/+130
| | | | Add Or,Xor for completeness.
* better monotone check for dead loopsCliff Click2024-09-074-24/+32
|
* Correct err msgCliff Click2024-09-072-4/+4
|
* Fix bugsCliff Click2024-09-073-0/+19
| | | | | AND on floats Shift-extend idiom smartly makes sharper int types.
* Fix possible monotonicity bugCliff Click2024-09-074-0/+12
| | | | Allow Add to smartly add ranges.
* Cleanup comments to match designCliff Click2024-09-071-11/+13
| | | | Went through several iterations, one where a null _obj was allowed, but settled on using TypeStruct.BOT instead.
* And-masking sharpens narrowed intsCliff Click2024-09-072-3/+25
| | | | Needed to recognize narrowed expressions
* minus is sane for high rangesCliff Click2024-09-071-1/+3
|
* All the remaining narrow typesCliff Click2024-09-075-34/+109
| | | | Narrow f32, requires a Round node.
* Backport empty statement fixCliff Click2024-09-071-1/+3
| | | | | Split Ch13 tests from Chapter12Test.java Handle forward refs never defined.
* Shift operators; sign extensionCliff Click2024-09-076-8/+202
|
* handle all unsigned int variantsCliff Click2024-09-075-16/+108
| | | | and-masking and typenames for all!
* Correct constant fold with ranges for most primitivesCliff Click2024-09-079-14/+17
|
* Add TypeInteger rangesCliff Click2024-09-075-65/+85
|
* #98 Chapter 14 arraysdibyendumajumdar2024-09-0749-0/+5725