DaVinci™ Video Processors
Forums
Announcements
Options
Subscribe via RSS
How to get sum of four bytes of src in single assembly instruction?
How to get sum of four bytes of src in single assembly instruction?
This question is not answered
Posted by
fox liang
on
Mar 24 2012 02:53 AM
Prodigy
10
points
Hi, unsigned int t1, t2; ... t2 = ((t1 & 0xFF) + ((t1 >> 8) & 0xFF)) + (((t1 >> 16) & 0xFF) + ((t1 >> 24) & 0xFF)); If there is assembly instruction that can get sum of four bytes of t1? I think it is often used in video processing! By the way, i use DM6446. Thanks!
Da Vinci 6446
Report Abuse
Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.