The stack should be 16 byte aligned on 32 bit solaris. Patch by Yuri.
[oota-llvm.git] / lib / Target / MBlaze / TODO
1 * Writing out ELF files is close to working but the following needs to
2   be examined more closely:
3     - Relocations use 2-byte / 4-byte to terminology in reference to
4       the size of the immediate value being changed. The Xilinx
5       terminology seems to be (???) 4-byte / 8-byte in reference
6       to the number of bytes of instructions that are being changed.
7
8 * Code generation seems to work relatively well now but the following
9   needs to be examined more closely:
10     - The stack layout needs to be examined to make sure it meets
11       the standard, especially in regards to var arg functions.
12     - The processor itineraries are copied from a different backend
13       and need to be updated to model the MicroBlaze correctly.
14     - Look at the MBlazeGenFastISel.inc stuff and make use of it
15       if appropriate.
16
17 * A basic assembly parser is present now and seems to parse most things.
18   There are a few things that need to be looked at:
19     - There are some instructions that are not generated by the backend
20       and have not been tested as far as the parser is concerned.
21     - The assembly parser does not use any MicroBlaze specific directives.
22       I should investigate if there are MicroBlaze specific directive and,
23       if there are, add them.
24     - The instruction MFS and MTS use special names for some of the
25       special registers that can be accessed. These special register
26       names should be parsed by the assembly parser.