Some questions about gcc and xmm
pik33
Posts: 2,366
I wasn't interested in prop-gcc because at first I don't like C I can of course use it when needed, but when not needed I prefer Pascal (on PCs - Lazarus) - assembler ( on PC - Lazarus, too, which allows asm and makes my friends to ask questions like "can a PC be programmed in assembler???" ) - and, in the Propeller environment - Spin which I think there should be PC port of it with cognew starting a new thread on PC
But now I have a P1V with a 1.5 MB (0.5 MB is a framebuffer) easy accessible SRAM to use. To write a long
To read a long
Now, it should be possible to use it for a xmm machine
What I need now is some advice where to search - on this forum - the most important informations about how to create a xmm machine using code above which can be compatible with Propeller GCC - if this is possible. Simply: where to start searching.
But now I have a P1V with a 1.5 MB (0.5 MB is a framebuffer) easy accessible SRAM to use. To write a long
mov outb, data mov dirb, addr 'addr has set bit 31 andn dirb, a80000000 ' $8000_0000 constant - dirb[31]:=0
To read a long
mov dirb, addr ' addr has set bit 30 andn dirb, a40000000 ' $4000_0000 constant - dirb[30]:=0 nop ' eventually add nop to give the module some time to make a read, or do something useful here mov data, inb
Now, it should be possible to use it for a xmm machine
What I need now is some advice where to search - on this forum - the most important informations about how to create a xmm machine using code above which can be compatible with Propeller GCC - if this is possible. Simply: where to start searching.
Comments
Edit: The driver interface is a slight modification of Chip's P2 SDRAM driver interface.
I've thought that could be a good idea, for off-chip memory cases, as it allows the memory interface to run separately from the execute engine - such a split approach also allows some added HW to manage parts of the memory fetch, in the cases of P2, or P1V, and memories like SDRAM, QuadSPI, QuadSPI_DDR, and the new HyperBUS(DDR)
( or even P1 + a small CPLD + memory may be practical)