On 3/14/09, Paolo Bonzini <bonz...@gnu.org> wrote:
> Hans-Peter Nilsson wrote:
>  > The answer to the question is "no", but I'd guess the more
>  > useful answer is "yes", for different definitions of "truncate".
>
> Ok, after my patches you will be able to teach GCC about this definition
>  of truncate.

I expect it's a bit too extreme an example, but I've just found (to my
horror) that the MaverickCrunch FPU truncates all its shift counts to
6-bit signed (-32(right) to +31(left)), including on 64-bit integers,
which is not very helpful to compile for.
...unless it happens to come easy to handle "shift count is truncated
to less than size of word" in your new framework

    M

Reply via email to