Message266261
What if change the type of next_instr to unsigned short*? This would guarantee that the read is aligned since the start of code data is aligned.
I have small doubt about PREDICT(). I doubt that the compiler is smart enough to infer that *next_instr and *(unsigned short*)next_instr & 255 is the same. It can do unneeded work. I don't know whether this have negative effect. |
|
Date |
User |
Action |
Args |
2016-05-24 19:05:10 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, mark.dickinson, Demur Rumed |
2016-05-24 19:05:10 | serhiy.storchaka | set | messageid: <1464116710.35.0.535977915553.issue27097@psf.upfronthosting.co.za> |
2016-05-24 19:05:10 | serhiy.storchaka | link | issue27097 messages |
2016-05-24 19:05:10 | serhiy.storchaka | create | |
|