aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* bench: find llvm-config-19 like the Makefile; bench-save refuses when an ↵Gravatar zinc 13 days4-3/+30
| | | | expected backend has no rows
* bench: o3 guard is jit o3 collatz under half of jit plain (no interp rows ↵Gravatar zinc 13 days2-6/+10
| | | | needed)
* bench.sh: interp core built and timed only with INTERP=1Gravatar zinc 13 days1-2/+6
|
* bench: no-region guard, selftest and --rows, interp rows behind INTERP=1, ↵Gravatar zinc 13 days3-13/+90
| | | | fail only over 10% and 0.1 ms
* make bench, bench-save, bench-check: wrap tests/bench/bench.sh plus a ↵Gravatar zinc 13 days2-22/+29
| | | | pointer sweep; baseline after jit step 2
* Merge branch 'main' into work/benchGravatar zinc 13 days5-14/+271
|\
| * merge work/jit2: compiled o3 regions on x86-64Gravatar zinc 13 days5-14/+271
| |\
| | * x86-64 o3 regions: header comment, readme, bench note and todoGravatar zinc 13 days4-7/+8
| | |
| | * tests: x86-64 o3 regions compile and match the region interpreterGravatar zinc 13 days1-1/+5
| | |
| | * x86-64 jit: compile o3 regions (vars in their frame slots, six value ↵Gravatar zinc 13 days1-6/+258
| | | | | | | | | | | | registers); ZYO3INTERP=1 keeps the region interpreter
* | | Merge branch 'main' into work/benchGravatar zinc 13 days29-74/+200
|\| |
| * | merge work/spec: appendix b round, zc0umd rewriteGravatar zinc 13 days29-74/+200
| |\ \ | | |/ | |/|
| | * Merge branch 'main' into work/specGravatar zinc 13 days4-15/+36
| | |\ | | |/ | |/|
| | * len: len on a char* is an error with typecheck off too (appendix b.2.14)Gravatar zinc 13 days4-6/+6
| | |
| | * prototypes: parameters may be unnamed, int f(int, int*); (appendix b.2.13)Gravatar zinc 13 days5-5/+24
| | |
| | * bool: normalising into a bool keeps an incompatible source type, so the ↵Gravatar zinc 13 days1-1/+2
| | | | | | | | | | | | return type check still fires (fixes typeerrors/ret.zc after b.2.6)
| | * as: the type after as is read greedily in both compilers; x as int * y is a ↵Gravatar zinc 13 days4-6/+10
| | | | | | | | | | | | syntax error (appendix b.2.12 settled, no compiler change)
| | * lexer: a block comment that is never closed is 'unterminated comment' ↵Gravatar zinc 13 days6-5/+11
| | | | | | | | | | | | (appendix b.2.11)
| | * bool: a value stored into a bool is normalised to 0 or 1 (appendix b.2.6)Gravatar zinc 13 days5-4/+16
| | |
| | * enum: a member is defined as soon as it is declared, so later values can ↵Gravatar zinc 13 days5-7/+18
| | | | | | | | | | | | name it (appendix b.2.2)
| | * Merge branch 'main' into work/specGravatar zinc 13 days15-38/+498
| | |\
| | * | globals: an integer constant initializing a float or f32 global converts to ↵Gravatar zinc 13 days3-2/+12
| | | | | | | | | | | | | | | | float (float g = 2; is 2.0)
| | * | zc0umd: no recast uses a visible u/m/d as its tag (spec 1.6.3); spec: the ↵Gravatar zinc 13 days2-25/+33
| | | | | | | | | | | | | | | | fixed appendix b bugs are marked fixed
| | * | Revert "zc0: read integer literals like the compiler: decimal with leading ↵Gravatar zinc 13 days2-12/+13
| | | | | | | | | | | | | | | | | | | | | | | | zeros, 0x hex, wrapping (appendix b.1.11)" This reverts commit 76fc2643d1df7da7c83f7b58fe7e8459f487b816.
| | * | Revert "zc0: u*x, m*x, d*x are products when u, m or d is a visible local or ↵Gravatar zinc 13 days3-8/+7
| | | | | | | | | | | | | | | | | | | | | | | | global (spec 1.6.3)" This reverts commit 2f2597bd753fa04edc8cf51ffe9fd324965224d2.
| | * | Merge branch 'main' into work/specGravatar zinc 13 days31-66/+362
| | |\ \
| | * | | rt.zdiv: INT_MIN / -1 is INT_MIN and % is 0 in software division too, so zc0 ↵Gravatar zinc 13 days2-2/+1
| | | | | | | | | | | | | | | | | | | | programs agree with spec 3.4.3
| | * | | zc0: u*x, m*x, d*x are products when u, m or d is a visible local or global ↵Gravatar zinc 13 days3-7/+8
| | | | | | | | | | | | | | | | | | | | (spec 1.6.3)
| | * | | zc0: read integer literals like the compiler: decimal with leading zeros, 0x ↵Gravatar zinc 13 days2-13/+12
| | | | | | | | | | | | | | | | | | | | hex, wrapping (appendix b.1.11)
| | * | | conformance: appendix b items the spec body documents are class cGravatar zinc 13 days1-4/+4
| | | | |
| | * | | ternary: an int side and a float side convert the int on its own path only ↵Gravatar zinc 13 days3-5/+16
| | | | | | | | | | | | | | | | | | | | (appendix b.2.5)
| | * | | include: written inside a function body is 'include is top level only' ↵Gravatar zinc 13 days4-2/+4
| | | | | | | | | | | | | | | | | | | | (appendix b.2.9)
| | * | | globals: a float or f32 global takes a float literal initializer (appendix ↵Gravatar zinc 13 days3-2/+12
| | | | | | | | | | | | | | | | | | | | b.2.7)
| | * | | fndef: a prototype after a definition in the same module keeps the ↵Gravatar zinc 13 days3-5/+9
| | | | | | | | | | | | | | | | | | | | definition (appendix b.2.4)
| | * | | fndef: a second definition of a function in the same module is 'is defined ↵Gravatar zinc 13 days3-1/+8
| | | | | | | | | | | | | | | | | | | | twice' (appendix b.2.3)
| | * | | unary: u*x, m*x, d*x are not recasts when the tag names a global variable eitherGravatar zinc 13 days2-1/+14
| | | | |
| | * | | closures: allow 24 parameters, like functions (was 19)Gravatar zinc 13 days3-2/+11
| | | | |
| | * | | conformance: runtime index errors now end with an 'at <stdin>:N in main' ↵Gravatar zinc 13 days4-4/+4
| | | | | | | | | | | | | | | | | | | | trace line
* | | | | wip: bench wraps bench.shGravatar zinc 13 days3-61/+114
| | | | |
* | | | | wip: bench suiteGravatar zinc 13 days3-1/+207
|/ / / /
* | | | merge work/xref: zc0 u*d redo and follow-upsGravatar zinc 13 days4-15/+36
|\ \ \ \ | |_|_|/ |/| | |
| * | | zc0: a store into a local embed array is an error (its elements are in the ↵Gravatar zinc 13 days3-8/+27
| | | | | | | | | | | | | | | | code); test in tests/test.sh
| * | | zc0: free the saved token when the local-embed lookahead returns earlyGravatar zinc 13 days1-1/+1
| | | |
| * | | zc0: u*x, m*x, d*x are products when u, m or d is a visible local or global ↵Gravatar zinc 13 days2-6/+8
| | | | | | | | | | | | | | | | (spec 1.6.3); redone from zc-spec's 2f2597b
* | | | merge work/jit2: x86-64 jit inline enhancementsGravatar zinc 13 days8-9/+400
|\ \ \ \
| * | | | x86-64 jit: header comment and todo for inlined enhancementsGravatar zinc 13 days2-3/+4
| | | | |
| * | | | rt: note the two definitions of a heap block's length (bnd recipe, paylen)Gravatar zinc 13 days1-0/+4
| | | | |
| * | | | x86-64 jit: inline enhancements (micro-ops lowered to registers, literal ↵Gravatar zinc 13 days5-5/+369
| | | | | | | | | | | | | | | | | | | | specialization, ZYNOENH=1 to call xrun); enh_ops test; jit_x64_test in test.sh
| * | | | core: an enhancement's ld reads 0 past 2^32 in xexec too (mread took an ↵Gravatar zinc 13 days1-1/+1
| | | | | | | | | | | | | | | | | | | | int), as the jits and the microcore do
| * | | | test: a constant loop bound drops the fixed-array bounds check (bounds_proof)Gravatar zinc 13 days2-0/+22
| | |_|/ | |/| |