> > How does this work for 32-bit hosts and 64-bit targets? > > Some (most?) 64-bit targets require a 64-bit HOST_WIDE_INT.
They don't REQUIRE it, but just miss a lot of optimization if that isn't the case (since things that would otherwise be CONST_INT will now be CONST_DOUBLE and folding will be harder).