JIT - fctixx: Properly handle numbers > INT_MAX

This commit is contained in:
Dr. Chat
2017-03-05 14:59:52 -06:00
parent ad5748f3e7
commit ea89a5d179
5 changed files with 125 additions and 5 deletions

View File

@@ -670,6 +670,9 @@ static const vec128_t xmm_consts[] = {
0x80000000u),
/* XMMShortMinPS */ vec128f(SHRT_MIN),
/* XMMShortMaxPS */ vec128f(SHRT_MAX),
/* XMMIntMaxPS */ vec128f(float(INT_MAX)),
/* XMMIntMaxPD */ vec128d(INT_MAX),
/* XMMInt64MaxPD */ vec128d(double(INT64_MAX)),
};
// First location to try and place constants.