[Vm-dev] [commit][3682] Remove double backslashes at end of default implementation of new swap macros .

Nicolas Cellier nicolas.cellier.aka.nice at gmail.com
Sat Apr 23 06:52:59 UTC 2016


Ouch, I wonder how I could introduce these :(

2016-04-23 5:23 GMT+02:00 <commits at squeakvm.org>:

>
> Revision: 3682
> Author:   eliot
> Date:     2016-04-22 20:23:49 -0700 (Fri, 22 Apr 2016)
> Log Message:
> -----------
> Remove double backslashes at end of default implementation of new swap
> macros.
>
> Modified Paths:
> --------------
>     branches/Cog/platforms/Cross/vm/sqMemoryAccess.h
>
> Property Changed:
> ----------------
>     branches/Cog/platforms/Cross/vm/sqSCCSVersion.h
>
> Modified: branches/Cog/platforms/Cross/vm/sqMemoryAccess.h
> ===================================================================
> --- branches/Cog/platforms/Cross/vm/sqMemoryAccess.h    2016-04-23
> 00:59:25 UTC (rev 3681)
> +++ branches/Cog/platforms/Cross/vm/sqMemoryAccess.h    2016-04-23
> 03:23:49 UTC (rev 3682)
> @@ -218,18 +218,18 @@
>  #  define SQ_SWAP_8_BYTES(x) _byteswap_uint64(x)
>  #else
>  #  define SQ_SWAP_4_BYTES(x) \
> -       (((unsigned int)(x) << 24) | \\
> -       (((unsigned int)(x) <<  8) & 0xff0000U) | \\
> -       (((unsigned int)(x) >>  8) & 0xff00U) | \\
> +       (((unsigned int)(x) << 24) | \
> +       (((unsigned int)(x) <<  8) & 0xff0000U) | \
> +       (((unsigned int)(x) >>  8) & 0xff00U) | \
>         ( (unsigned int)(x) >> 24))
>  #  define SQ_SWAP_8_BYTES(x) \
> -       (((unsigned long long)(x) << 56) | \\
> -       (((unsigned long long)(x) << 40) & 0xff000000000000ULL) | \\
> -       (((unsigned long long)(x) << 24) & 0xff0000000000ULL) | \\
> -       (((unsigned long long)(x) << 8)  & 0xff00000000ULL) | \\
> -       (((unsigned long long)(x) >> 8)  & 0xff000000ULL) | \\
> -       (((unsigned long long)(x) >> 24) & 0xff0000ULL) | \\
> -       (((unsigned long long)(x) >> 40) & 0xff00ULL) | \\
> +       (((unsigned long long)(x) << 56) | \
> +       (((unsigned long long)(x) << 40) & 0xff000000000000ULL) | \
> +       (((unsigned long long)(x) << 24) & 0xff0000000000ULL) | \
> +       (((unsigned long long)(x) << 8)  & 0xff00000000ULL) | \
> +       (((unsigned long long)(x) >> 8)  & 0xff000000ULL) | \
> +       (((unsigned long long)(x) >> 24) & 0xff0000ULL) | \
> +       (((unsigned long long)(x) >> 40) & 0xff00ULL) | \
>         ( (unsigned long long)(x) >> 56))
>  #endif
>
>
>
> Property changes on: branches/Cog/platforms/Cross/vm/sqSCCSVersion.h
> ___________________________________________________________________
> Modified: checkindate
>    - Fri Apr 22 17:58:08 PDT 2016
>    + Fri Apr 22 20:22:44 PDT 2016
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20160423/8ff175b5/attachment.htm


More information about the Vm-dev mailing list