p4lang-p4c-nightly:hanw/remove-annotations

Last commit made on 2018-10-19
Get this branch:
git clone -b hanw/remove-annotations https://git.launchpad.net/p4lang-p4c-nightly

Branch merges

Branch information

Name:
hanw/remove-annotations
Repository:
lp:p4lang-p4c-nightly

Recent commits

2db6a4b... by Han Wang <email address hidden>

use struct name instead of annotation

b1678d7... by Han Wang <email address hidden>

remove unnecessary annotations in v1model

817b8b5... by Han Wang <email address hidden>

fix for issue 1559 (#1561)

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

Extend arch-handler interface in P4Runtime serializer code

* modify postCollect method to accept a pointer to symbol table instead
  of a const reference, in case the architecture-specific code needs to
  add some new symbols to the table
* add postAdd method so that some architecture-specific post-processing
  can be performed on the P4Info message after all objects have been
  added

4678d8b... by Mihai Budiu <email address hidden>

Fix for issue #1544 (#1555)

* Fix for issue #1544
* One more test case

8f07f7b... by Mihai Budiu <email address hidden>

Fix for issue #1542 (#1556)

* Fix for issue #1542
* Fix for issue #1557

53da97e... by Chris Dodd <email address hidden>

Save/restore prune_flag in Transform::apply_visitor

5f94852... by zma-barefoot <email address hidden>

get parser value set size from annotation (#1554)

943ef16... by Calin Cascaval <email address hidden>

add saturated arithmetic support to p4-14

Implements saturated arithmetic in P4-14.

This also requires refactoring the map caching the bit
types. Previously, we were storing signed and unsigned in separate
maps. We unified the maps and added a key consisting of
(width, sign).

Since P4-16 supports only operations as saturated, the conversion
routines for the supported primitives, add, subtract, add_to_field,
subtract_from_field, change the operation to saturated if any of its
arguments are saturated.

13a5f7b... by ChrisDodd

'saturating' as attribute in P4_14 parser. (#1553)