We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug
The hardware (at least Wormhole): supports shifting by register as well as immediate value. Right now, only immediate values are supported.
To Reproduce
Insert into any LLK:
vInt foo = 1; vInt bar = 1; foo <<= bar;
This will fail to compile with error: no match for 'operator<<=' (operand types are 'sfpi::vInt' and 'sfpi::vInt')
error: no match for 'operator<<=' (operand types are 'sfpi::vInt' and 'sfpi::vInt')
/home/jason/tt-metal/runtime/sfpi/include/sfpi.h:556:22: note: candidate: 'sfpi::vInt sfpi::vInt::operator<<(uint32_t)' 556 | sfpi_inline vInt operator<<=(uint32_t amt) { this->__vIntBase::operator<<=<vInt>(amt); return v; } | ^~~~~~~~ /home/jason/tt-metal/runtime/sfpi/include/sfpi.h:556:43: note: no known conversion for argument 1 from 'sfpi::vInt' to 'uint32_t' {aka 'long unsigned int'} 556 | sfpi_inline vInt operator<<=(uint32_t amt) { this->__vIntBase::operator<<=<vInt>(amt); return v; } | ~~~~~~~~~^~~
Expected behavior
This should compile.
Please complete the following environment information:
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
The hardware (at least Wormhole): supports shifting by register as well as immediate value. Right now, only immediate values are supported.
To Reproduce
Insert into any LLK:
This will fail to compile with
error: no match for 'operator<<=' (operand types are 'sfpi::vInt' and 'sfpi::vInt')
Expected behavior
This should compile.
Please complete the following environment information:
The text was updated successfully, but these errors were encountered: