-
Notifications
You must be signed in to change notification settings - Fork 3k
Template specialization didnt work after addition of default constructor #7793
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
Conversation
Template specialization didn't work after addition of default constructor for unsupported polynomials. Since the argument type and count are same, compiler always selects the default constructor.
efe9ce0
to
7885edb
Compare
@geky - Verified in build, only polynomial used is linked. Size with 32-bit ANSI CRC Size with 16-bit CRC |
@deepikabhavnani Does the size increase with the 16-bit CRC? What is the |
Default size of CRC table is 256 elements and each element equivalent to size of polynomial. Hence for 16-bit CRC it is 256*2. 32-bit polynomial table was optimised recently and it is 16 * 4 byte long. |
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.
Looks good to me 👍
Thanks for testing if the tables got optimized out
Will start CI once load has gone down. |
/morph build |
Build : SUCCESSBuild number : 2827 Triggering tests/morph test |
/morph uvisor-test |
Exporter Build : FAILUREBuild number : 2457 |
Weird. It looks like it didn't even try to build certain targets. Going to see if this was a fluke. |
Exporter Build : SUCCESSBuild number : 2460 |
Test : SUCCESSBuild number : 2578 |
/morph uvisor-test |
@deepikabhavnani Known issue with uvisor CI, we are investigating |
/morph uvisor-test |
Template specialization didnt work after addition of default constructor
Description
Template specialization didn't work after addition of default constructor for unsupported polynomials. Since the argument type and count are same, compiler always selects the default constructor.
Pull request type