View Single Post
Old 07-10-2012, 08:14 PM   #81
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by twobob View Post
So issues with that one... Polling doesn't look like it wants to play nice.
It's only an example. I prefer the previous posts design in oh so many ways.
Code:
frames_to_deliver = frames_to_deliver > 4096 ? 4096 : frames_to_deliver;
First, do a quick re-write of that statement then re-run it.

Why?
There was a recent GCC bug fixed in the ARM arch for "wrong code generation" from that construct.
Quicker to just re-write it and re-test than run down all of the who/what/when/why of the bug.
knc1 is offline   Reply With Quote