Am 21.04.2011 21:14, schrieb Micha Nelissen:
> Florian Klaempfl wrote:
>> Am 19.04.2011 15:18, schrieb Marco van de Voort:
>>> You'll need to runtime test for SSE3 though. Since the first
>>> generation of
>>> athlon64's (clawhammer and friends, socket 751 or so) doesn't have SSE3.
>>
>> For such a relatively expensive operations, one runtime check per
>> function is imo ok even more since it is predicted perfectly after the
>> first run.
> 
> If the branch history table does not overflow ;-)

If the prediction is thrown out, then the function has no significant
part of program execution time. Even more, most CPU have today SSE3, so
the code can take this into account and allow proper static prediction.
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to