You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to analyze the resulting binary for WCET of test_fn will make Platin complain.
Looking into compiler-rt, I see that there is a dedicated function for 32-bit division in the Patmos builtins, but not for 64-bit.
This means the default one is used, which of-course doesn't include loop bounds.
Solution is to implement 64-bit division for Patmos in compile-rt such that it works out of the box.
The text was updated successfully, but these errors were encountered:
Trying to divide
uint64_t
will result in Platin complaining there is an unbounded loop.Example program:
Trying to analyze the resulting binary for WCET of
test_fn
will make Platin complain.Looking into compiler-rt, I see that there is a dedicated function for 32-bit division in the Patmos builtins, but not for 64-bit.
This means the default one is used, which of-course doesn't include loop bounds.
Solution is to implement 64-bit division for Patmos in compile-rt such that it works out of the box.
The text was updated successfully, but these errors were encountered: