Rev |
Log message |
Author |
Age |
Path |
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 |
2944d 14h |
/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 |
2946d 04h |
/zipcpu/trunk/sw/ |
123 |
This test now catches and tests some of the pipeline bugs I've been chasing. |
dgisselq |
2946d 04h |
/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 |
2951d 08h |
/zipcpu/trunk/sw/ |
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 |
2951d 08h |
/zipcpu/trunk/sw/ |
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 |
2955d 03h |
/zipcpu/trunk/sw/ |
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 |
2955d 04h |
/zipcpu/trunk/sw/ |
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 |
2955d 14h |
/zipcpu/trunk/sw/ |
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 |
2955d 14h |
/zipcpu/trunk/sw/ |
114 |
Fixes a bug that killed make binutils before the build-gas directory
was created. |
dgisselq |
2960d 15h |
/zipcpu/trunk/sw/ |
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 |
2960d 19h |
/zipcpu/trunk/sw/ |
112 |
Removed some debugging code from the compiler. |
dgisselq |
2963d 14h |
/zipcpu/trunk/sw/ |
111 |
Bug fix compiler update! This fixes a lot of the bugs associated with the
previous compiler release. |
dgisselq |
2963d 15h |
/zipcpu/trunk/sw/ |
110 |
The makefile no longer requires (or supports) building the obsolete machine
code test file optest. |
dgisselq |
2963d 15h |
/zipcpu/trunk/sw/ |
109 |
This file is now marked as obsolete. |
dgisselq |
2963d 15h |
/zipcpu/trunk/sw/ |
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 |
2979d 15h |
/zipcpu/trunk/sw/ |
104 |
An updated build script, actually builds zip-gcc. |
dgisselq |
2980d 15h |
/zipcpu/trunk/sw/ |
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 |
2980d 19h |
/zipcpu/trunk/sw/ |
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 |
2983d 04h |
/zipcpu/trunk/sw/ |
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 |
2985d 07h |
/zipcpu/trunk/sw/ |
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 |
2985d 07h |
/zipcpu/trunk/sw/ |
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 |
2985d 07h |
/zipcpu/trunk/sw/ |
98 |
Added justed longjump instructions from the previous (not used, broken)
functionality to the new LOD (PC),PC functionality. |
dgisselq |
2985d 07h |
/zipcpu/trunk/sw/ |
97 |
Added longjump instructions. |
dgisselq |
2985d 07h |
/zipcpu/trunk/sw/ |
96 |
Added the longjump functionality, so that the assembler will properly assemble
instructions to arbitrary 32-bit addresses. |
dgisselq |
2985d 07h |
/zipcpu/trunk/sw/ |
95 |
Fixed a bug whereby a mistaken code for CLR was masking a valid LDI of a large
integer value. |
dgisselq |
2987d 13h |
/zipcpu/trunk/sw/ |
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 |
3012d 10h |
/zipcpu/trunk/sw/ |
93 |
A BINUTILS BACKEND IS NOW AVAILABLE!!!! |
dgisselq |
3020d 08h |
/zipcpu/trunk/sw/ |
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 |
3020d 08h |
/zipcpu/trunk/sw/ |
70 |
Updated the assembler support files, zopcodes in particular, to handle
the disassembly of the new very long instruction word codes. |
dgisselq |
3051d 10h |
/zipcpu/trunk/sw/ |