Rev |
Log message |
Author |
Age |
Path |
131 |
Fixed a variable use before declaration error. |
dgisselq |
2920d 02h |
/zipcpu/trunk/ |
130 |
Simplified the lock logic, and removed it when pipelining was not defined. This
also means the file is now dependent upon cpudefs.v. In another change, brev
was modified so as not to update the flags. This makes it useable with GCC
as a potential move or load immediate instruction. |
dgisselq |
2920d 02h |
/zipcpu/trunk/ |
129 |
Bug fix. Fixes some ugly race conditions that would cause code from the wrong
address to be executed. |
dgisselq |
2920d 03h |
/zipcpu/trunk/ |
128 |
Cleaned up some comments. |
dgisselq |
2920d 03h |
/zipcpu/trunk/ |
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 |
2920d 03h |
/zipcpu/trunk/ |
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 |
2920d 03h |
/zipcpu/trunk/ |
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 |
2928d 10h |
/zipcpu/trunk/ |
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 |
2930d 00h |
/zipcpu/trunk/ |
123 |
This test now catches and tests some of the pipeline bugs I've been chasing. |
dgisselq |
2930d 00h |
/zipcpu/trunk/ |
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 |
2935d 04h |
/zipcpu/trunk/ |
121 |
Fixed the bug whereby BGE instructions dissassembled as BGT instructions and
vice versa. Loads and stores of absolute addresses now show those addresses
in ($<>). The assembler also accepts integer offsets to symbols, although
it isn't clear that it does the "right" thing with them yet. |
dgisselq |
2935d 04h |
/zipcpu/trunk/ |
120 |
Should've regression tested that last build. This one fixes what that last
fix broke: Registers with offsets (i.e. operand-B) now work (again). |
dgisselq |
2939d 00h |
/zipcpu/trunk/ |
119 |
Fixed some limits bugs. Now LDI.Z 1 produces LDIHI.Z 0, LDOLO.Z 1 as desired
instead of the erroneous BREV.Z 0. Likewise, loading 0x80000000 no longer
produces a clear instruction, but actually loads the value of interest. |
dgisselq |
2939d 00h |
/zipcpu/trunk/ |
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 |
2939d 03h |
/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 |
2939d 11h |
/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 |
2939d 11h |
/zipcpu/trunk/ |
115 |
A bug fix, applies to when there are more than 9 interrupt lines into the CPU. |
dgisselq |
2939d 11h |
/zipcpu/trunk/ |
114 |
Fixes a bug that killed make binutils before the build-gas directory
was created. |
dgisselq |
2944d 12h |
/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 |
2944d 15h |
/zipcpu/trunk/ |
112 |
Removed some debugging code from the compiler. |
dgisselq |
2947d 11h |
/zipcpu/trunk/ |
111 |
Bug fix compiler update! This fixes a lot of the bugs associated with the
previous compiler release. |
dgisselq |
2947d 11h |
/zipcpu/trunk/ |
110 |
The makefile no longer requires (or supports) building the obsolete machine
code test file optest. |
dgisselq |
2947d 11h |
/zipcpu/trunk/ |
109 |
This file is now marked as obsolete. |
dgisselq |
2947d 11h |
/zipcpu/trunk/ |
108 |
Just to clarify expectations ... this makefile hardly builds anything. |
dgisselq |
2957d 13h |
/zipcpu/trunk/ |
107 |
Adding a missing file. |
dgisselq |
2958d 04h |
/zipcpu/trunk/ |
106 |
Updated to allow building without the sources for the graphics used in the
document. |
dgisselq |
2958d 08h |
/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 |
2963d 11h |
/zipcpu/trunk/ |
104 |
An updated build script, actually builds zip-gcc. |
dgisselq |
2964d 11h |
/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 |
2964d 16h |
/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 |
2967d 00h |
/zipcpu/trunk/ |