Comments (4)
In the initial reckoning, it looks like 420 test cases pass, 55 fail, and 1321 fail to compile or are otherwise missing.
from llvm-mos.
I'm surprised that so many tests pass, this early on! I vaguely recall that at least some of the tests may depend on floating point.
from llvm-mos.
I'm surprised at how much of printf seems to work, once I fixed a few key issues. LLVM does a remarkable amount of verification and asserting on the inside, so I guess it's actually kinda difficult to get really really broken stuff through that. Just regular amounts of broken so far.
Anecdote:
A bunch of garbage was getting printed after the 0 in printf("%d\n", 0);, but only on the c64. I added a bunch of diagnostic __putchar('X')-es throughout the code, and to my surprise, it looked like the garbage was after printf! I was returning back to basic after I'd walked all over its variable structure, and basic was printing the garbage.
After changing the return to BASIC to an infinite loop, seeing printf("HELLO %d %s\n", 6502, "COMPILER") print "HELLO 6502 COMPILER" was a surprisingly big thrill, given all that's involved in that actually working.
from llvm-mos.
On second though it's going to be difficult to keep a "working baseline" established while the work of repairing the test suite is underway. Fixing a compilation error can (and has) activated a hundred or so additional test cases, which can create more failures than it's reasonable to fix in the same commit. I'll be attempting to alternate between fixing compilation issues and fixing test executions so that the suit stays "as working as possible", but the actually number of failing tests will likely oscillate.
from llvm-mos.
Related Issues (20)
- __builtin_frame_address(0) errors
- xo65 segment escape `_d` conflicts with hex escapes beginning with `d`
- error: relocation R_MOS_PCREL_8 out of range: -134 is not in [-128, 127] HOT 3
- Mesen labels for code shouldn't have sizes
- Something odd with an infinite loop.. HOT 3
- Missed optimization opportunity: compare 16-bit counters for zero low byte first instead of high byte first
- Unecessary `txa` in simple copy HOT 4
- Missed optimization: fuse counter comparison and decrement together via "pre-offsetting" to avoid CMP instructions HOT 1
- Crash during linking SDK 8.0 HOT 4
- Regression in inc-dec-phi.ll
- Linker crashes on mixing non-constant and constant assembler constraints HOT 2
- Miscompilation at -Os interpreting struct as raw bytes HOT 1
- Port compiler-rt builtins
- Port llvm-libc HOT 2
- Port libc++
- Zero page allocation for size HOT 1
- Duplicate symbols with builtins HOT 1
- objdump --mcpu=mosw65816 doesn't decode newer instructions HOT 1
- Linker not garbage collecting correctly
- Inline assembly, missing txa in some (not all) cases HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from llvm-mos.