History log of /dragonfly/sys/cpu/x86_64/include/endian.h (Results 1 – 10 of 10)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 7822e9ae 09-Feb-2022 zrj <rimvydas.jasinskas@gmail.com>

<machine/endian.h>: Provide __FLOAT_WORD_ORDER too

Allows some ports to make use of internal representations.


Revision tags: v6.2.1, v6.2.0, v6.3.0, v6.0.1, v6.0.0, v6.0.0rc1, v6.1.0
# 350b8183 14-Mar-2021 zrj <rimvydas.jasinskas@gmail.com>

<machine/endian.h>: Use __builtin_bswapXY function if c++.

There builtins seem to be supported since gcc 4.8. In theory we could
use them for C code too, but for now limit this to c++ so to help

<machine/endian.h>: Use __builtin_bswapXY function if c++.

There builtins seem to be supported since gcc 4.8. In theory we could
use them for C code too, but for now limit this to c++ so to help
compilers to deal with fun what is constexpr, lambdas, templates, etc.
Generally, this reduces amount of debug code created through the
__word_swap_foo() expansions too.

Note: g++8 implements __word_swap_foo_var() with a bit different asm.

show more ...


# 373f159b 14-Mar-2021 zrj <rimvydas.jasinskas@gmail.com>

<sys/endian.h>: Unify _QUAD_*WORD macros.

Taken-from: NetBSD


# a33a0137 14-Mar-2021 zrj <rimvydas.jasinskas@gmail.com>

<machine/endian.h>: Provide userland double underscore endianess variants.

For compatibility with GNU userland in ports.


Revision tags: v5.8.3, v5.8.2, v5.8.1, v5.8.0, v5.9.0, v5.8.0rc1, v5.6.3
# 1705e1a1 10-Sep-2019 Matthew Dillon <dillon@apollo.backplane.com>

Remove 'register' qualifier

* Not allowed in c++17, and no longer has any usefulness
given that modern compilers already optimize variables
into registers extremely well.

Reported-by: zrj


Revision tags: v5.6.2, v5.6.1, v5.6.0, v5.6.0rc1, v5.7.0, v5.4.3, v5.4.2, v5.4.1, v5.4.0, v5.5.0, v5.4.0rc1, v5.2.2, v5.2.1, v5.2.0, v5.3.0, v5.2.0rc, v5.0.2, v5.0.1, v5.0.0, v5.0.0rc2, v5.1.0, v5.0.0rc1, v4.8.1, v4.8.0, v4.6.2, v4.9.0, v4.8.0rc, v4.6.1
# c1a70273 11-Oct-2016 zrj <rimvydas.jasinskas@gmail.com>

machine/endian.h: Mark bswap functions always inlineable.

This solves many cases where compiler decides to make them as a local
static functions to prevent code size growth and causing -Winline.
Als

machine/endian.h: Mark bswap functions always inlineable.

This solves many cases where compiler decides to make them as a local
static functions to prevent code size growth and causing -Winline.
Also then it leads to less optimal code generation.
To prevent all of this just mark them as always inlineable.
These functions are intended to be inlined and should be thought as macros.

show more ...


Revision tags: v4.6.0, v4.6.0rc2, v4.6.0rc, v4.7.0, v4.4.3, v4.4.2
# 2c64e990 25-Jan-2016 zrj <rimvydas.jasinskas@gmail.com>

Remove advertising header from sys/

Correct BSD License clause numbering from 1-2-4 to 1-2-3.

Some less clear cases taken as it was done of FreeBSD.


Revision tags: v4.4.1, v4.4.0, v4.5.0, v4.4.0rc, v4.2.4, v4.3.1, v4.2.3, v4.2.1, v4.2.0, v4.0.6, v4.3.0, v4.2.0rc, v4.0.5, v4.0.4, v4.0.3, v4.0.2, v4.0.1, v4.0.0, v4.0.0rc3, v4.0.0rc2, v4.0.0rc, v4.1.0, v3.8.2, v3.8.1, v3.6.3, v3.8.0, v3.8.0rc2, v3.9.0, v3.8.0rc, v3.6.2, v3.6.1, v3.6.0, v3.7.1, v3.6.0rc, v3.7.0, v3.4.3, v3.4.2, v3.4.0, v3.4.1, v3.4.0rc, v3.5.0, v3.2.2, v3.2.1, v3.2.0, v3.3.0, v3.0.3, v3.0.2, v3.0.1, v3.1.0, v3.0.0
# 86d7f5d3 26-Nov-2011 John Marino <draco@marino.st>

Initial import of binutils 2.22 on the new vendor branch

Future versions of binutils will also reside on this branch rather
than continuing to create new binutils branches for each new version.


Revision tags: v2.12.0, v2.13.0, v2.10.1, v2.11.0, v2.10.0, v2.9.1, v2.8.2, v2.8.1, v2.8.0, v2.9.0, v2.6.3, v2.7.3, v2.6.2, v2.7.2, v2.7.1, v2.6.1, v2.7.0, v2.6.0
# b2b3ffcd 04-Nov-2009 Simon Schubert <corecode@dragonflybsd.org>

rename amd64 architecture to x86_64

The rest of the world seems to call amd64 x86_64. Bite the bullet and
rename all of the architecture files and references. This will
hopefully make pkgsrc build

rename amd64 architecture to x86_64

The rest of the world seems to call amd64 x86_64. Bite the bullet and
rename all of the architecture files and references. This will
hopefully make pkgsrc builds less painful.

Discussed-with: dillon@

show more ...


# c1543a89 04-Nov-2009 Simon Schubert <corecode@dragonflybsd.org>

rename amd64 architecture to x86_64

The rest of the world seems to call amd64 x86_64. Bite the bullet and
rename all of the architecture files and references. This will
hopefully make pkgsrc build

rename amd64 architecture to x86_64

The rest of the world seems to call amd64 x86_64. Bite the bullet and
rename all of the architecture files and references. This will
hopefully make pkgsrc builds less painful.

Discussed-with: dillon@

show more ...