Rev |
Log message |
Author |
Age |
Path |
191 |
Updated toolchain, more information on the example debugger. |
dgisselq |
2884d 22h |
/zipcpu/trunk/sw/ |
188 |
Adjusted the opcodes to match the binutils port: added RTN instructions, and
allowed BREAK instructions to include an immediate--to be interpreted by the
debugger. |
dgisselq |
2918d 16h |
/zipcpu/trunk/sw/ |
171 |
This fixes the problem whereby the ZipCPU didn't properly access more than
5 word-sized function parameters. |
dgisselq |
2920d 23h |
/zipcpu/trunk/sw/ |
166 |
Bugfix version. This fixes a problem whereby function addresses with offsets
were not properly calculated, together with properly setting up pcrelative
offsets when using the move function together with a label. |
dgisselq |
2979d 21h |
/zipcpu/trunk/sw/ |
165 |
Added a test to make certain that the arithmetic right shift was properly
propagating the high order bit. (The test works under verilator, but didn't
initially work in Xilinx -- thus a difference between the two.) |
dgisselq |
2979d 21h |
/zipcpu/trunk/sw/ |
156 |
Fixed a compiler warning for an unused result. |
dgisselq |
3011d 13h |
/zipcpu/trunk/sw/ |
146 |
Fixes a problem where the assembler complained the compiler was trying to
move .org backwards. This is now fixed. |
dgisselq |
3044d 12h |
/zipcpu/trunk/sw/ |
143 |
This section belatedly adjusts the zasm assembler so that it can handle
the LONG_MPY changes that have taken place. However, the test.S assembler
test script is still not properly testing the multiplies--at least it will
succeed on everything else. |
dgisselq |
3044d 12h |
/zipcpu/trunk/sw/ |
142 |
Bug fix--fixes some problems with conditional execution, as well as removing
an unnecessary peephole optimization. |
dgisselq |
3045d 13h |
/zipcpu/trunk/sw/ |
141 |
Fixes two bugs: one causing merged strings in the read only string section to
be referenced at the wrong address, and the second which caused the assembler
to fail at SYMBOL-OFFSET references. |
dgisselq |
3045d 13h |
/zipcpu/trunk/sw/ |
138 |
This updates the CPU multiply instruction into a set of three instructions.
MPY is a 32x32-bit multiply instruction, returning the low 32-bit result,
MPYUHI returns the upper 32-bits assuming the result was unsigned and MPYSHI
returns the upper 32-bits assuming the result was signed. |
dgisselq |
3050d 23h |
/zipcpu/trunk/sw/ |
137 |
This should (again) fix the bug of trying to build optest.cpp. |
dgisselq |
3064d 16h |
/zipcpu/trunk/sw/ |
136 |
Oops --- missed a couple HOST_WIDE_INT values in a printf. This casts them
to (long), so that we can work on both PC's and ARMs. |
dgisselq |
3064d 16h |
/zipcpu/trunk/sw/ |
135 |
Replaced all occurrences of INTVAL(...) on printf lines with (long)INTVAL(...).
This should fix the problems zip-gcc was having while running on the ARM. |
dgisselq |
3064d 17h |
/zipcpu/trunk/sw/ |
127 |
Lots of changes and bugfixes. The disassembler produces more readable output.
The assembler and linker will no longer automatically use LDIHI--in preparation
for switching to LONG_MPY. LDIHI/LDILO pairs have been changed to BREV/LDILO
pairs. Within the compiler, conditional moves have been rebuilt. They're not
perfect yet, but they are better. Lots of peephole optimizations, etc. |
dgisselq |
3065d 13h |
/zipcpu/trunk/sw/ |
126 |
Lots of changes preparing the assembly for an instruction set change. While
implemented, they are still commented out via #ifdef LONG_MPY. By defining
LONG_MPY, this new change set will take place. |
dgisselq |
3065d 13h |
/zipcpu/trunk/sw/ |
125 |
This patch contains minor updates. Two are important to mention: 1) It turns
the compare optimizations back on within the zip.md file, and 2) it fixes an
internal compiler fault that was causing the compiler to such up all of my
memory in an infinite recursion. |
dgisselq |
3073d 21h |
/zipcpu/trunk/sw/ |
124 |
Lots of changes, lots of bugfixes--both to the compiler as well as to the
assembler. (Ex: the assembler will now properly execute a LDI _sym+5,R0).
Many compiler optimizations have been turned off, however. They will probably
be turned back on in the near future--once I get this version proven without
them. |
dgisselq |
3075d 11h |
/zipcpu/trunk/sw/ |
123 |
This test now catches and tests some of the pipeline bugs I've been chasing. |
dgisselq |
3075d 11h |
/zipcpu/trunk/sw/ |
122 |
This represents a major rewrite of the machine definition file, gcc/config/zip/
zip.md. In particular, the architecture has been changed from a "cc0"
architecture to one with a specific CC_REG and CCmode. Instructions in the
machine definition file must now explicitly set this register with their
results. The result is better condition code handling, better usage of the
conditional execution modes of certain instructions, and even some decent
optimizations. |
dgisselq |
3080d 15h |
/zipcpu/trunk/sw/ |