p4lang-p4c-nightly:hanw/additional-architecture

Last commit made on 2018-03-27
Get this branch:
git clone -b hanw/additional-architecture https://git.launchpad.net/p4lang-p4c-nightly

Branch merges

Branch information

Name:
hanw/additional-architecture
Repository:
lp:p4lang-p4c-nightly

Recent commits

0820fe3... by Han Wang <email address hidden>

checkpoint

587e616... by ChrisDodd

P4_14->alternate architecture conversion (#1187)

* P4_14->alternate architecture conversion

- initial work to split P4_14->16 conversion into a base converter with
  architecture specific subclass conversion, to allow for eventual
  P4_14->PSA conversion as well as target-specific architectures
- experimental support for extern functions with constant args returning
  extern instances (factory methods)

77ecabc... by Mihai Budiu <email address hidden>

Fix for issue #1184 (#1186)

* Fix for issue #1184

* Some outputs have changed

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

Add egress timestamp to v1model's metadata fields

This is to enable the implementation of INT with v1model. This metadata
field does exist in PSA, but until PSA becomes mainstream, it is nice to
have access to the same metadata in v1model.

The egress timestamp is the "time at which the packet began processing
in the egress parser".

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

Fix resubmit in bmv2 backend

Just like for learn lists, field list ids (which are used for resubmit)
need to be non-zero, since the id is actually used as a flag to indicate
whether or not resubmit was invoked.

Given that the "resubmit_flag" v1model metadata field is supposed to
hold a field list id, its bitwidth was increased from 1 to 32.

0d80607... by Mihai Budiu <email address hidden>

Fix for issue #489 (#1178)

312907e... by Mihai Budiu <email address hidden>

Fix for spec issue 563 (#1174)

4ac5aff... by Chris Dodd <email address hidden>

Match explicit END tokens after error in bison parser

- bison C++ parser can't recover properly (automatically) from errors
  on eof, due to the explicit END token required. Need to explicitly
  match END where it can occur in error recovery to avoid hang.

c8de862... by Calin Cascaval <email address hidden>

fix typo in installing target configs

Fixes #1079

a52502f... by Calin Cascaval <email address hidden>

add sha to the p4c version

Updating the version should be done at "release" time, however, we
can automatically add the sha to the version number so people can
identify which release of the compiler are using.

Fixes #1173