p4lang-p4c-nightly:hanw/rel-8.5

Last commit made on 2018-11-15
Get this branch:
git clone -b hanw/rel-8.5 https://git.launchpad.net/p4lang-p4c-nightly

Branch merges

Branch information

Name:
hanw/rel-8.5
Repository:
lp:p4lang-p4c-nightly

Recent commits

550e434... by Han Wang <email address hidden>

add hook to support custom expression converter visitor function (#1601)

9302717... by Mihai Budiu <email address hidden>

Fix for issue #1580 (#1583)

* Fix for issue #1580
* Improved error message

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

* Updated the test

b109a62... by ChrisDodd

support routine additions (#1579)

- Keys and ValuesForKey helpers for (multi)map iteration
- dump child index/name in Visitor::Context dump routine

8ef7159... by amreshk <email address hidden>

Minor fix on misplaced break in adding default args (#1578)

8123f0e... by Chris Dodd <email address hidden>

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.

83feef3... by amreshk <email address hidden>

Insert zero initialized default arguments when not present in program (#1576)

e0e27fd... by Antonin Bas <email address hidden>

Fix 2 bugs in P4Info generation code

 * 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.