p4lang-p4c-nightly:kg/expandMirror

Last commit made on 2018-11-02
Get this branch:
git clone -b kg/expandMirror https://git.launchpad.net/p4lang-p4c-nightly

Branch merges

Branch information

Name:
kg/expandMirror
Repository:
lp:p4lang-p4c-nightly

Recent commits

37ce8f4... by Krishna Garlapati <email address hidden>

add comment

a3f257e... by Krishna Garlapati <email address hidden>

a midend pass to convert mirror struct argument to a list expression

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)