[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [f-cpu] Status quo



Le 2015-04-01 11:17, Nicolas Boulay a ÃcritÂ:
 what is this conversion function ?

if you have img[x][y], you want something like
img[x/64][y/64][x%64][y%64] it's not the good example because you need
the size, but that's the idea.


Here, you're just mixing address lines. Nothing crazy.
CÃdric's example seems to work at the byte level
with a more complicated pattern, that's where SIMD
is helpful to shuffle the bytes.
*************************************************************
To unsubscribe, send an e-mail to majordomo@xxxxxxxx with
unsubscribe f-cpu       in the body. http://f-cpu.seul.org/