a25756b...
by
Calin Cascaval <email address hidden>
add specialized methods for other integer types
Bitvec operators that have arguments uintptr_t end up converting
other integer types to uintptr_t. On 32-bit systems, the conversion
from uint64_t to uintptr_t is wrong. For that we add new template
methods that do the proper conversion.
Interestingly enough, only the OR methods had the uintptr_t parameters.
Why?
41f142d...
by
Calin Cascaval <email address hidden>
house cleaning for 32-bit compilation (#1582)
* house cleaning for 32-bit compilation
Avoid using size_t as an implied 64-bit value, as on 32-bit systems that is not correct.
Reorganized the headers so that we can reuse bitops without gmp.
Made the add_cxx_compiler_options portable.
9aaca6a...
by
Evan Cheshire <email address hidden>
Fixed an issue on bitvec slices larger than 64 bits (#1581)
* Fixed an issue on bitvec slices larger than 64 bits
Supress error in P4RuntimeSerializer for default entry of unknown type
- static entries for a table with a selector (or other) key component
that is not relevant for the entry need a placeholder default for that
key component, which should just be ignored.
* Fix typo that was causing all indirect meters to be omitted from
P4Info.
* Collect extern functions (e.g. digest) invoked directly from a
control. It may not have been necessary in the past when the
serializer was run after the synthetization of actions by the
compiler, but it is necessary now.