Change meaning of convfl/convdl to be saturated
authorDavid Schleef <ds@schleef.org>
Fri, 27 Aug 2010 19:42:44 +0000 (12:42 -0700)
committerDavid Schleef <ds@schleef.org>
Fri, 27 Aug 2010 19:42:44 +0000 (12:42 -0700)
commite5fc168166aa6917f37f030ff8cc67d61cf5511c
treea49ab478a9b4c77f9aae76ab35cfe5b084c7ee70
parent28051d83049250561110fd91cf13397ad3cb538f
Change meaning of convfl/convdl to be saturated

Some architectures (powerpc) clamp out-of-range values to the
integer range when converting from float to int.  Others (x86)
maps out-of-range values to 0x80000000.  Since we have to choose
one, saturating seems like the better choice.
orc/opcodes.h
orc/orcemulateopcodes.c
orc/orcprogram-c.c
orc/orcrules-sse.c