Changes between Version 2 and Version 3 of Component/Sparcv8
- Timestamp:
- Apr 27, 2009, 1:54:28 AM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Component/Sparcv8
v2 v3 12 12 * the ASI is currently not supported 13 13 * an optional FP is provided through a compilation flag (FPU, enabled by default) 14 * [wiki:Tools/GdbServer gdb server] is under development. 14 15 15 16 = Component definition & implementation = … … 32 33 33 34 This component has one template parameter : 34 * NWIN(int) : the number of windows. By default : 835 * {{{NWIN}}} (int) : the number of windows. By default : 8 35 36 36 37 == Interrupts == … … 42 43 None, it is to the wrapper to provide them. 43 44 44 = LDSTUB and SWAP support = 45 = Notes = 46 47 == LDSTUB and SWAP support == 45 48 46 49 SoCLib infrastructure doesn't support directly SWAP and LDSTUB instructions. Thus they are emulated through SC and LL extended accesses. … … 52 55 * these instructions are only supported on a word granularity : ensure that every variables involved in SWAP and LDSTUB access are in different word 53 56 * these instructions require a change in the caches behaviour, which is currently pending. In the mean time, a workaround is to flush the cache after every SWAP / LDSTUB. 57 58 == Compiling programs for Sparc v8 with SoCLib == 59 60 Before compiling a program for the Sparc v8 with the SoCLib framework you will need to define some system variables (usually on the ~/.soclib/soft_compilers.conf) needed to find the Sparc compiler. Below you have an example: 61 {{{ 62 sparc_CC_PREFIX = sparc-unknown-elf- 63 sparc_CFLAGS = -O2 -g -mcpu=v8 -mfpu -msoft-quad-float 64 sparc_LDFLAGS = 65 }}}