cdkersey / harptool Goto Github PK
View Code? Open in Web Editor NEWCompiler/Linker/Emulator for Heterogeneous Architecture Research Prototype
Compiler/Linker/Emulator for Heterogeneous Architecture Research Prototype
Bug in parsing of immediate value expressions: (_WORD-1) fails, but (-__WORD_1) succeeds. These should return the same result.
Write to @p0 somehow affects @p2. Here is the reproducing code:
/* debug: testing predicate register bug */
ldi %r0, #1
ldi %r1, #-1
isneg @p2, %r0 /* set @p2 to false */
isneg @p0, %r1 /* set @p0 to true */
@p2 ? ldi %r0, #999 /* this should never be executed, but is /
addi %r7, %r0, #0
jali %r5, printdec
/ prints 999 but should print 1 */
trap
Right now if an out-of-bounds clone happens we just segfault (or worse, nothing happens).
Instructions below need to be implemented:
not
xorp
Fix bug in itof. This doesn't seem to work for negative numbers, e.g.:
ldi %r0, #-1
itof %r0, %r0
ftoi %r0, %r0
/* DEBUG /
addi %r7, %r0, #0
jali %r5, printdec
trap
/ END DEBUG */
trap
Should print -1 but prints -9223372036854775808
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.