dec_wasm,x86: define ENABLE_X86_BUILTIN_ADDSUB_SAT

this matches the behavior for aarch64

Change-Id: I243ca6cc5ffec107065a7e0dc442ee69322936ae
This commit is contained in:
James Zern 2017-07-15 11:54:25 -07:00
parent 415b98ffad
commit c0eb3ff7d4

View File

@ -329,8 +329,9 @@ static void Transform(const int16_t* in, uint8_t* dst, int do_two) {
{i8x16,i16x8}.{add,sub}_saturate_[su].
*/
// For testing purposes.
// #define ENABLE_X86_BUILTIN_ADDSUB_SAT
#if defined(__i386__) || defined(__x86_64__)
#define ENABLE_X86_BUILTIN_ADDSUB_SAT
#endif
#if defined(__aarch64__)
// For now, this only works for aarch64