This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Post Reply 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Release of External Software Rendering for JPCSP
04-15-2014, 08:28 PM (This post was last modified: 04-15-2014 08:35 PM by hlide.)
Post: #9
RE: Release of External Software Rendering for JPCSP
(04-14-2014 08:48 PM)MaXiMu Wrote:  I have one question will be in a future version support first version AVX? or not much help compared than SSE4.1 ?
from my experience, only SSE4.1 and AVX2 are interesting enough to support.

SSE4.1 has enough instructions to handle up to 4 pixels per operation efficiently
AVX2.0 has enough instructions to handle up to 8 pixels per operation efficiently

AVX is too incomplete to be efficient.

Renderer is extremely dependent about cpu power. Right now, it is mostly executed in a mono-core fashion. While a parallel execution of several cores is possible (@gid15? is that stuff working or is it just a wip?), I'm not sure it is safe or efficient enough to use it. Personally I think it needs some rethinking as I really don't like to let Java uses threads to make parallel execution.

Renderer is not dynamically generating assembly code in all case as I wish. While some vertex operations are done this way, pixel operations are still not done this way (they are just a chain of static pixel operations). Compiler can make a good job but static code are still limited in flexibility. Note that the fact you must support both x86 and amd64 makes the dynamic generation of assembly code much harder as they have too many subtle differences that prevent from sharing common source.
Find all posts by this user
Quote this message in a reply
Post Reply 

Messages In This Thread
RE: Release of External Software Rendering for JPCSP - hlide - 04-15-2014 08:28 PM

Forum Jump:

User(s) browsing this thread: 1 Guest(s)