This website requires JavaScript.
Explore
Mirrors
Help
Sign In
6502
/
llvm-65816
Watch
1
Star
0
Fork
0
You've already forked llvm-65816
mirror of
https://github.com/jeremysrand/llvm-65816.git
synced
2024-09-29 09:57:27 +00:00
Code
Issues
Projects
Releases
Wiki
Activity
74cb03d2f6
llvm-65816
/
lib
/
Target
/
WDC65816
History
Jeremy Rand
74cb03d2f6
Fix the calling convention for return values. I believe the way this works is that you specify the width of the single register and a list of registers to return values in for anything bigger. By having a return convention for [i32], I seem to have been telling LLVM that it can return a 32-bit value in X which it cannot do.
2015-08-31 23:30:50 -04:00
..
MCTargetDesc
Model the direct page as a series of 16-bit, 32-bit and 64-bit integer registers and also a series of 32-bit and 64-bit float registers. Reserve the 0th 32-bit integer register in the direct page for use as a frame pointer.
2015-07-23 23:45:42 -04:00
TargetInfo
Add some logs to help trace what i happening when executing.
2015-07-28 23:15:15 -04:00
CMakeLists.txt
LLVMBuild.txt
Makefile
WDC65816.h
Adopt the standard LLVM debug infrastructure for WDC_LOG(). This way, debugging can be turned on/off at the command line using the "clang -mllvm -debug ..." option.
2015-08-28 23:11:18 -04:00
WDC65816.td
WDC65816AsmPrinter.cpp
Add placeholder implementations of a couple more methods. At this point, I can "compile":
2015-07-30 23:29:36 -04:00
WDC65816CallingConv.td
Fix the calling convention for return values. I believe the way this works is that you specify the width of the single register and a list of registers to return values in for anything bigger. By having a return convention for [i32], I seem to have been telling LLVM that it can return a 32-bit value in X which it cannot do.
2015-08-31 23:30:50 -04:00
WDC65816FrameLowering.cpp
Add placeholder implementations of a couple more methods. At this point, I can "compile":
2015-07-30 23:29:36 -04:00
WDC65816FrameLowering.h
WDC65816InstrFormats.td
WDC65816InstrInfo.cpp
WDC65816InstrInfo.h
WDC65816InstrInfo.td
More implementation of LowerFormalArguments() and LowerReturn()
2015-08-05 00:22:22 -04:00
WDC65816ISelDAGToDAG.cpp
Adopt the standard LLVM debug infrastructure for WDC_LOG(). This way, debugging can be turned on/off at the command line using the "clang -mllvm -debug ..." option.
2015-08-28 23:11:18 -04:00
WDC65816ISelLowering.cpp
Adopt the standard LLVM debug infrastructure for WDC_LOG(). This way, debugging can be turned on/off at the command line using the "clang -mllvm -debug ..." option.
2015-08-28 23:11:18 -04:00
WDC65816ISelLowering.h
Some more implementation towards my first successful compile of a simple function.
2015-08-06 00:20:12 -04:00
WDC65816MachineFunctionInfo.cpp
WDC65816MachineFunctionInfo.h
Adopt the standard LLVM debug infrastructure for WDC_LOG(). This way, debugging can be turned on/off at the command line using the "clang -mllvm -debug ..." option.
2015-08-28 23:11:18 -04:00
WDC65816RegisterInfo.cpp
Add placeholder implementations of a couple more methods. At this point, I can "compile":
2015-07-30 23:29:36 -04:00
WDC65816RegisterInfo.h
WDC65816RegisterInfo.td
Model the direct page as a series of 16-bit, 32-bit and 64-bit integer registers and also a series of 32-bit and 64-bit float registers. Reserve the 0th 32-bit integer register in the direct page for use as a frame pointer.
2015-07-23 23:45:42 -04:00
WDC65816SelectionDAGInfo.cpp
WDC65816SelectionDAGInfo.h
WDC65816Subtarget.cpp
WDC65816Subtarget.h
WDC65816TargetMachine.cpp
Adopt the standard LLVM debug infrastructure for WDC_LOG(). This way, debugging can be turned on/off at the command line using the "clang -mllvm -debug ..." option.
2015-08-28 23:11:18 -04:00
WDC65816TargetMachine.h