-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for 128 bit bitwise operation #10
base: main
Are you sure you want to change the base?
Conversation
Sosutha
commented
Sep 17, 2024
- Added movh statement definition
10a1aac
to
6a4c870
Compare
f41d23d
to
06eb13a
Compare
9e9f473
to
a0e34e4
Compare
backends/dpdk/dpdkHelpers.cpp
Outdated
fields->push_back(new IR::StructField("upper_half", IR::Type_Bits::get(64))); | ||
fields->push_back(new IR::StructField("lower_half", IR::Type_Bits::get(64))); | ||
const IR::Type_Header *headerStruct = new IR::Type_Header(IR::ID("sandbox_header_t"), *fields); | ||
auto name = new cstring("sandbox_header_t"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we use some name which are not valid identifier in P4 say starting with $
x=same tmp128_t
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sandbox_header$_t
tmp128$_t
Are these fine?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
have a look at comment
30b7c86
to
21dd2e5
Compare
0b866d7
to
ae74cb8
Compare
45bbda9
to
d40ff2f
Compare
Signed-off-by: Sosutha Sethuramapandian <[email protected]> * Added movh statement definition * Added support for 128 bitwise operation * Added support for 128 bit equal and not equal operators. * Added support for 128 bit compliment operation * Updated testcase and output
d40ff2f
to
ce5265d
Compare