Topic
  • 4 replies
  • Latest Post - ‏2010-08-09T13:09:41Z by shady
shady
shady
4 Posts

Pinned topic A question about ppu VMX intrinsics.

‏2010-08-06T07:38:05Z |
I have read "C / C + + Language Extensions for Cell Broadband Engine Architecture",
and I found vec_dss, vec_dssall, vec_dst and vec_dstst are not recommended,
But I use them in the code, the program can be executed on the Cell simulator.

In the future, should I use them?
Updated on 2010-08-09T13:09:41Z at 2010-08-09T13:09:41Z by shady
  • jadamcze
    jadamcze
    219 Posts

    Re: A question about ppu VMX intrinsics.

    ‏2010-08-07T13:03:34Z  
    According to that document and the CBE Programming Handbook, they "have been deprecated on the PPU and will execute as a NOP" - so presumably you can use them, but they won't do anything.
  • shady
    shady
    4 Posts

    Re: A question about ppu VMX intrinsics.

    ‏2010-08-09T02:17:47Z  
    • jadamcze
    • ‏2010-08-07T13:03:34Z
    According to that document and the CBE Programming Handbook, they "have been deprecated on the PPU and will execute as a NOP" - so presumably you can use them, but they won't do anything.
    I found the libfreevec use these intrinsics in its source code.
    Is the libfreevec unavailable for PPU too?
  • jadamcze
    jadamcze
    219 Posts

    Re: A question about ppu VMX intrinsics.

    ‏2010-08-09T07:58:14Z  
    • shady
    • ‏2010-08-09T02:17:47Z
    I found the libfreevec use these intrinsics in its source code.
    Is the libfreevec unavailable for PPU too?
    NOP means the instruction will do nothing. The use of those intrinsics is not a reason that libfreevec would fail to work on the PPU.

    libfreevec compiles and appears to work on the Cell BE ('tested' using LD_PRELOAD and mplayer, fwiw).
  • shady
    shady
    4 Posts

    Re: A question about ppu VMX intrinsics.

    ‏2010-08-09T13:09:41Z  
    • jadamcze
    • ‏2010-08-09T07:58:14Z
    NOP means the instruction will do nothing. The use of those intrinsics is not a reason that libfreevec would fail to work on the PPU.

    libfreevec compiles and appears to work on the Cell BE ('tested' using LD_PRELOAD and mplayer, fwiw).
    Sorry, I used wrong word.

    libfreevec can be executed on the PPU, but can it significantly enhance the performance of PPU?