Displaying 5 results from an estimated 5 matches for "63u".
Did you mean:
631
2013 Sep 04
4
PATCH: bugfixes for bitmath.h
...is greater than 0. So this 'if()' can be removed.
4. Am I right that FLAC__bitmath_ilog2_wide() and FLAC__bitmath_ilog2() return the same value if their argument is less than 2^32? Then FLAC__bitmath_ilog2_wide() works correctly only when compiled with GCC: it should return idx, not idx^63U. Also the result of de Bruijn sequences is off by 1.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bitmath.patch
Type: application/octet-stream
Size: 2625 bytes
Desc: not available
Url : http://lists.xiph.org/pipermail/flac-dev/attachments/20130904/9457509c/att...
2013 Aug 16
1
PATCH for bitmath.h: 1 typo, 1 warning
rutine -> routine
Also MSVC complains that FLAC__uint32* (unsigned int*) is not of the same type as unsigned long*
--- a\src\libFLAC\include\private\bitmath.h 2013-08-13 13:30:24.000000000 +0400
+++ b\src\libFLAC\include\private\bitmath.h 2013-08-14 10:20:51.484053700 +0400
@@ -78,12 +78,12 @@
return _bit_scan_reverse(v) ^ 31U;
#elif defined(__GNUC__) && (__GNUC__ >= 4 ||
2013 Sep 08
0
PATCH: bugfixes for bitmath.h
...sed
for the production compiles anyway.
> 4. Am I right that FLAC__bitmath_ilog2_wide() and FLAC__bitmath_ilog2()
> return the same value if their argument is less than 2^32? Then
> FLAC__bitmath_ilog2_wide() works correctly only when compiled with GCC:
> it should return idx, not idx^63U. Also the result of de Bruijn sequences
> is off by 1.
This also needs more investigation. Your patch changes the output
of this function for any given input.
Erik
--
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/
2012 May 09
1
[PATCH 2/2] bitmath: Finish up optimizations
...return sizeof(FLAC__uint64) * CHAR_BIT - 1 - __builtin_clzll(v);
+/* Sorry, only supported in win64/Itanium.. */
+#elif (defined(_MSC_VER) && (_MSC_VER >= 1400)) && (defined(_M_IA64) || defined(_WIN64))
+ FLAC__uint64 idx;
+ _BitScanReverse64(&idx, v);
+ return idx ^ 63U;
#else
-
-unsigned FLAC__bitmath_ilog2(FLAC__uint32 v);
-unsigned FLAC__bitmath_ilog2_wide(FLAC__uint64 v);
-
+/* Brain-damaged compilers will use the fastest possible way that is,
+ de Bruijn sequences (http://supertech.csail.mit.edu/papers/debruijn.pdf)
+ (C) Timothy B. Terriberry (tterrib...
2017 Apr 24
0
Issues with exposing USB serial dongle to guest VM
...936 [eventfd]
qemu-kvm 13468 qemu 60u a_inode 0,9 0 6936 [eventfd]
qemu-kvm 13468 qemu 61u a_inode 0,9 0 6936 [eventfd]
qemu-kvm 13468 qemu 62u a_inode 0,9 0 6936 [eventfd]
qemu-kvm 13468 qemu 63u a_inode 0,9 0 6936 [eventfd]
qemu-kvm 13468 qemu 64u a_inode 0,9 0 6936 [eventfd]
qemu-kvm 13468 qemu 65u a_inode 0,9 0 6936 [eventfd]
qemu-kvm 13468 qemu 66u a_inode 0,9...