Chris Lattner | 6efa9d0 | 2004-07-16 06:12:28 +0000 | [diff] [blame] | 1 | LLVM Target Skeleton |
| 2 | -------------------- |
| 3 | |
| 4 | This directory contains a very simple skeleton that can be used as the |
Misha Brukman | 29baf29 | 2004-07-16 17:40:28 +0000 | [diff] [blame] | 5 | starting point for new LLVM targets. Basically, you can take this code |
Chris Lattner | 6efa9d0 | 2004-07-16 06:12:28 +0000 | [diff] [blame] | 6 | and start filling stuff in. |
| 7 | |
| 8 | This directory contains mainly stubs and placeholders; there is no binary |
| 9 | machine code emitter, no assembly writer, and no instruction selector |
| 10 | here. Most of the functions in these files call abort() or fail assertions |
| 11 | on purpose, just to reinforce the fact that they don't work. |
| 12 | |
| 13 | The things that are implemented are stubbed out in a pseudo-PowerPC target. |
| 14 | This should give you an idea of what to do, but anything implemented should |
| 15 | be replaced with your target details. |
| 16 | |
| 17 | As always, if you're starting a new port, please mention it on the llvmdev |
| 18 | list, and if you have questions, that is a great place to ask. |