[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Patch-gnuradio] Masking in volk_64u_popcnt.h
From: |
Moritz Fischer |
Subject: |
[Patch-gnuradio] Masking in volk_64u_popcnt.h |
Date: |
Sun, 06 May 2012 12:43:15 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1 |
Hey guys,
I stumbled on this and I think it's wrong, correct me if I misunderstood
it. But to me this seems like a masking which should not be done with && ;-)
- uint32_t retVal = (uint32_t)(value && 0x00000000FFFFFFFF);
+ uint32_t retVal = (uint32_t)(value & 0x00000000FFFFFFFF);
Patch is attached,
Cheers & happy hacking.
Moritz
0001-Fixed-a-masking-issue-in-volk_64u_popcnt_a.h.patch
Description: Text Data
- [Patch-gnuradio] Masking in volk_64u_popcnt.h,
Moritz Fischer <=