p4lang-p4c-nightly:hanw/fix-verify

Last commit made on 2021-05-05
Get this branch:
git clone -b hanw/fix-verify https://git.launchpad.net/p4lang-p4c-nightly

Branch merges

Branch information

Name:
hanw/fix-verify
Repository:
lp:p4lang-p4c-nightly

Recent commits

449a80b... by Han Wang <email address hidden>

convert always-false verify to drop and remove always-true verify statement

f47980b... by Nate Foster <email address hidden>

Test `main` branch (#2758)

* Trivial commit that updates list of backends

* Update hash for Boost libraries in Bazel

efdd7e0... by Radostin Stoyanov <email address hidden>

Minor run-dpdk-test improvements (#2757)

cleanup run-dpdk-test

Signed-off-by: Radostin Stoyanov <email address hidden>

08ef61a... by Nate Foster <email address hidden>

Replace "master" with "main" in preparation for change of p4c's primary branch (#2708)

Also update references to main branch in behavioral-model.

7749dfb... by Han Wang <email address hidden>

dpdk: fix checksum support (#2756)

9de755b... by Carl Geoffrion <email address hidden>

Update StrengthReduction pass relative to signed shift left operation (#2754)

* Update StrengthReduction pass relative to signed shift left operation

The current code does not slice a shift left operation if the source
field is signed, e.g.:
   unsigned_val[7:0] = (signed_val << 3)[15:8];
to something like this:
   unsigned_val[7:0] = signed_val[12:5];

This is not in-line with the P4 Spec "8.6. Operations on fixed-width
signed integers" chapter which state "Shifting left produces the exact
same bit pattern as a shift left of an unsigned value. Shift left can
thus overflow, when it leads to a change of the sign bit."

Slicing the operation also help reduce field constraints down the road.

* Updating testdata strength4 output

482eaa1... by Jakub Neruda <email address hidden>

Find install_manifest.txt for uninstall target (#2752)

948ec62... by Andy Fingerhut <email address hidden>

Add match_kind optional to PSA include file (#2696)

17b384f... by Michal Kekely <email address hidden>

Parser unroll gtest now does not modify environment (#2750)

03bfd25... by usha1830 <email address hidden>

Fix dpdk regression failure: Duplicates declaration (#2744)

* Fix dpdk regression failure: Duplicates declaration

* Fix cpplint errors

* Added checks to ensure parameters exist before accessing them

* 1)Added error handling for unexpected number of arguments.
2)Fixed typos.
3)Updated reference output files.

* Updated reference output for psa-header-stack.p4

* Changed error type from BUG to Model error for PSA acrhitecture