bootstrap/mescc

This commit is contained in:
Jan Nieuwenhuizen 2017-12-02 11:54:20 +01:00
parent 0d45b9da6b
commit adeecfe3fc
1 changed files with 8 additions and 5 deletions

View File

@ -2976,7 +2976,7 @@ ST_FUNC void vstore(void)
/* mask and shift source */
if((ft & VT_BTYPE) != VT_BOOL) {
if((ft & VT_BTYPE) == VT_LLONG) {
#if !__MESC__
#if !BOOTSTRAP //!__MESC__
vpushll((1ULL << bit_size) - 1ULL);
#else
vpushll((1UL << bit_size) - 1UL);
@ -2991,7 +2991,7 @@ ST_FUNC void vstore(void)
/* load destination, mask and or with source */
vswap();
if((ft & VT_BTYPE) == VT_LLONG) {
#if !__MESC__
#if !BOOTSTRAP //!__MESC__
vpushll(~(((1ULL << bit_size) - 1ULL) << bit_pos));
#else
vpushll(~(((1UL << bit_size) - 1UL) << bit_pos));
@ -4739,7 +4739,8 @@ ST_FUNC void unary(void)
// special qnan , snan and infinity values
case TOK___NAN__:
#if !__MESC__
#if !BOOTSTRAP
//!__MESC__
vpush64(VT_DOUBLE, 0x7ff8000000000000ULL);
#else
vpush64(VT_DOUBLE, 0x7ff80000UL);
@ -4747,7 +4748,8 @@ ST_FUNC void unary(void)
next();
break;
case TOK___SNAN__:
#if !__MESC__
#if !BOOTSTRAP
//!__MESC__
vpush64(VT_DOUBLE, 0x7ff0000000000001ULL);
#else
vpush64(VT_DOUBLE, 0x7ff00000UL);
@ -4755,7 +4757,8 @@ ST_FUNC void unary(void)
next();
break;
case TOK___INF__:
#if !__MESC__
#if !BOOTSTRAP
//!__MESC__
vpush64(VT_DOUBLE, 0x7ff0000000000000ULL);
#else
vpush64(VT_DOUBLE, 0x7ff00000UL);