Rev |
Log message |
Author |
Age |
Path |
118 |
Fixes two bugs: 1) in the early branching code within the instruction decoder.
This prevented the early branching from working when built with Xilinx's tools,
while the code worked with Verilator. 2) The CPU was not working with the
traditional cache and early branching disabled. These two bugs masked each
other. The replacement code is simpler. |
dgisselq |
2997d 05h |
/zipcpu/trunk |
117 |
Bug fixes: This adds the zip_ucc() instruction as a builtin, fixes the zip_cc()
builtin (both are now unspec_volatile) together with fixing the *_context(int*)
builtins so that they use five registers, never four. Further, this fixes the
negative stack space offset bug. Many of the GCC files now have Zip debugging
hooks within them as well, to simplify further debugging of the compiler. |
dgisselq |
2997d 13h |
/zipcpu/trunk |
116 |
Updated binutils. This fixes problems with linking global variables, fixes
the map file report, adjusts the LJMP instruction disassembly to display the
resulting address, as well as in general fixing up link problems when
sizeof(byte) is 32-bits. |
dgisselq |
2997d 13h |
/zipcpu/trunk |
115 |
A bug fix, applies to when there are more than 9 interrupt lines into the CPU. |
dgisselq |
2997d 13h |
/zipcpu/trunk |
114 |
Fixes a bug that killed make binutils before the build-gas directory
was created. |
dgisselq |
3002d 14h |
/zipcpu/trunk |
113 |
Bug fix: the Makefile wasn't building gcc, and the binutils would not allocate
space for common variables or zero'd (bss) variables properly. Several binutils
bugs were fixed to get variables to be allocated properly. Those are
reflected in this updated patch. |
dgisselq |
3002d 17h |
/zipcpu/trunk |
112 |
Removed some debugging code from the compiler. |
dgisselq |
3005d 13h |
/zipcpu/trunk |
111 |
Bug fix compiler update! This fixes a lot of the bugs associated with the
previous compiler release. |
dgisselq |
3005d 13h |
/zipcpu/trunk |
110 |
The makefile no longer requires (or supports) building the obsolete machine
code test file optest. |
dgisselq |
3005d 13h |
/zipcpu/trunk |
109 |
This file is now marked as obsolete. |
dgisselq |
3005d 13h |
/zipcpu/trunk |
108 |
Just to clarify expectations ... this makefile hardly builds anything. |
dgisselq |
3015d 15h |
/zipcpu/trunk |
107 |
Adding a missing file. |
dgisselq |
3016d 06h |
/zipcpu/trunk |
106 |
Updated to allow building without the sources for the graphics used in the
document. |
dgisselq |
3016d 10h |
/zipcpu/trunk |
105 |
Fixed some nasty early branching bugs. Adjusted the Makefile to declare that
cpudefs.h was automatically generated from cpudefs.v, and made sure that
zipbones included the cpudefs.v so it could get the DEBUG_SCOPE define.
In addition, the test.S was updated to test long jumps, the early branching
bug we found, and all three early branching instructions: ADD #x,PC, LOC(PC),PC,
and LDI #x,PC. |
dgisselq |
3021d 14h |
/zipcpu/trunk |
104 |
An updated build script, actually builds zip-gcc. |
dgisselq |
3022d 14h |
/zipcpu/trunk |
103 |
A barely functional, but somewhat working, version of GCC to check in.
If the Lord is willing, it should be accompanied by a newlib port soon.
That port should move the GCC status from barely functional but somewhat
working to functional and working, although not (yet) complete. |
dgisselq |
3022d 18h |
/zipcpu/trunk |
102 |
Updated bugfix version of the binutils patch, and a first patch of GCC.
The GCC patch is undergoing ongoing and active development. It is also known to
continue to contain active bugs. (It's not done yet.) |
dgisselq |
3025d 03h |
/zipcpu/trunk |
101 |
Adjusted the "BREAK" instruction so that it will now disassemble properly
with an operand. This was necessary to create a (trap_if ...) instruction
for the GCC compiler. |
dgisselq |
3027d 06h |
/zipcpu/trunk |
100 |
Some changes to support early branching: branches are now ADD #x,PC instructions
instead of MOV #x(PC),PC--providing greater range to the CPU. When that range
is insufficient, ZPARSER now recognizes long jump instructions coded as
LOD (PC),PC followed by the jump address. (This change was made necessary by
the need to build an assembler/linker that could create instructions that would
jump to any address in the 32-bit address space. In short, a part of the
ongoing GCC upgrade and rework.) |
dgisselq |
3027d 06h |
/zipcpu/trunk |
99 |
Added big-endian versus little-endian functionality. You can now specify which
your input file is as a command line parameter, and zdump will properly
disassemble the file. |
dgisselq |
3027d 06h |
/zipcpu/trunk |
98 |
Added justed longjump instructions from the previous (not used, broken)
functionality to the new LOD (PC),PC functionality. |
dgisselq |
3027d 06h |
/zipcpu/trunk |
97 |
Added longjump instructions. |
dgisselq |
3027d 06h |
/zipcpu/trunk |
96 |
Added the longjump functionality, so that the assembler will properly assemble
instructions to arbitrary 32-bit addresses. |
dgisselq |
3027d 06h |
/zipcpu/trunk |
95 |
Fixed a bug whereby a mistaken code for CLR was masking a valid LDI of a large
integer value. |
dgisselq |
3029d 12h |
/zipcpu/trunk |
94 |
These changes make it possible to build binutils-2.25/ here in this
directory. "make binutils" should be all that is necessary to build the
entire binutils package for the Zip CPU.
The default configure script, run from gas-script.sh below, will build and
install these utilities in an install/ subdirectory made below sw/. |
dgisselq |
3054d 09h |
/zipcpu/trunk |
93 |
A BINUTILS BACKEND IS NOW AVAILABLE!!!! |
dgisselq |
3062d 07h |
/zipcpu/trunk |
92 |
Adjustments made to match the simplified early branching. |
dgisselq |
3062d 07h |
/zipcpu/trunk |
91 |
Minor updates. |
dgisselq |
3062d 07h |
/zipcpu/trunk |
90 |
Removed MOV x(PC),PC from the list of possible early branching instructions.
ADD X,PC and LDI X,PC are now the only recognized early branching instructions.
This was done to spare logic, although I don't think I spared more than a
LUT or two. |
dgisselq |
3062d 07h |
/zipcpu/trunk |
89 |
Minor changes, to include making default branching an ADD.[condition] X,PC
instruction, rather than allowing both MOV X(PC),PC and ADD X,PC instructions.
Further zopcodes.cpp contains several bug fixes. |
dgisselq |
3062d 07h |
/zipcpu/trunk |