Questions tagged [spu]

12 questions
3
votes
1 answer

Check that at least 1 element is true in each of multiple vectors of compare results - horizontal OR then AND

I'm looking for an SSE Bitwise OR between components of same vector. (Editor's note: this is potentially an X-Y problem, see below for the real comparison logic.) I am porting some SIMD logic from SPU intrinsics. It has an…
Michael IV
  • 11,016
  • 12
  • 92
  • 223
3
votes
1 answer

Is it possible to increase accuracy of floating point arithemtic with gcc?

some program in C which does extensive floating point calculations get right results on a pc linux box, but wrong results on the SPE of the cell processor, but not on the PPU of the cell. I am using gcc compilers. I wonder if there is some gcc…
Open the way
  • 26,225
  • 51
  • 142
  • 196
2
votes
1 answer

mediaPlayer.setSpu() not working

Currently I am working on some code based on VLCJ to play video content, which is working pretty fine, but I am struggling hard making the setSpu() method work. Just to mention, when it comes to load an external subtitle, in a file apart from the…
hmonsalv
  • 23
  • 5
2
votes
2 answers

GSL Libraries on the SPU

has anyone succeed in compiling/porting/finding the GNU scientific libraries for the SPU? IF not, do similar libraries or wrappers for the SPU exist? or, how would you just port some of the functions? Thanks
Werner
1
vote
2 answers

Direct SPU to SPU DMA requests on the Cell Processor?

Normal DMA requests on the Cell happen between the SPUs and the PPU. However, I have read that it is possible to set up DMA directly between SPUs. Anyone have any idea how this is accomplished?
Paul Wicks
  • 62,960
  • 55
  • 119
  • 146
1
vote
2 answers

Cell SPU error in C

When I compile a SPU program, I get the following compilation error: (.text+0x28): relocation truncated to fit: SPU_ADDR18 against symbol `_end' defined in *ABS* section in spu What does it mean? The error comes only after I have included at the…
Madrugada
  • 1,261
  • 8
  • 24
  • 44
1
vote
1 answer

Best way to vectorize C code by hand

I want to vectorize by hand some C code, in order to it speedup. For that purpose (SPE on the Cell processor or CBE) I want to use SIMD math. The code originally uses some physical vector calculations (speed, acceleration, etc), so in some parts of…
Open the way
  • 26,225
  • 51
  • 142
  • 196
1
vote
2 answers

Sorting/reordering dependent instructions for dual issue processing

I attempted to write a sort algorithm to reorder instructions for a dual issue processor (Cell SPU). One way to obtain dual issue processing an instruction should not depend on the instruction that precedes it (another involves separate pipelines,…
frankiek3
  • 88
  • 5
1
vote
0 answers

CELL (communication between SPEs)

Working with CELL there are PPU and SPU. My question is how do you communicate between SPE-s? I know that a SPU program can access the mailbox of an other SPE through DMA functions (defined in spu_mfcio.h), if these are mapped in the local program…
Irene Texas
  • 1,731
  • 2
  • 12
  • 8
0
votes
1 answer

Decoding muli-length opcodes (SPU ISA)

I have produced a dump of 32-bit instructions in hex from an assembler I implemented. A subset of the instruction dump is show below: The opcodes for the instructions are of lengths 4, 7, 8, 9, and 11. They are always the first bits in the…
Anviori
  • 15
  • 8
0
votes
1 answer

Set font name, size and color for selected subtitle with VLCJ

Currently I am working on some code based on VLCJ to play media content. I am focused on subtitles tracks, and I would like to add functionality to modify the font name, size and color of the subtitle being played. Is there any way to get this…
hmonsalv
  • 23
  • 5
0
votes
2 answers

SPU Instruction Pointer

I've been searching through the entire manuals and I can't find a single mention of the Instruction Pointer. I need this for a SPU program that I'm writing. Maybe it has a different name? Can anyone tell me how I can access the address of the…