ObjFW  Diff

Differences From Artifact [53e8f943e6]:

  • File src/OFObject.h — part of check-in [7e1dbda4b4] at 2023-11-03 01:07:38 on branch trunk — OFMatrix4x4: Remove SSE4.1 due to Clang bugs

    Clang fails to correctly align the _values ivar in 32 bit mode, despite
    OF_ALIGN(16). Trying to force it to align it properly by creating a new
    typedef or putting it into an aligned struct instead makes Clang's
    builtin memcpy fail in another, entirely unrelated method (that has no
    inline assembly), as the inlined memcpy will then try to use movaps on
    unaligned data, probably because Clang still assumes the data to be
    unaligned there and tries to memcpy using SSE after adding an offset
    that would make it aligned - but now makes it unaligned. (user: js, size: 43115) [annotate] [blame] [check-ins using]

To Artifact [f6921949eb]:


1
2
3
4
5
6
7
8
9
/*
 * Copyright (c) 2008-2023 Jonathan Schleifer <js@nil.im>
 *
 * All rights reserved.
 *
 * This file is part of ObjFW. It may be distributed under the terms of the
 * Q Public License 1.0, which can be found in the file LICENSE.QPL included in
 * the packaging of this file.
 *

|







1
2
3
4
5
6
7
8
9
/*
 * Copyright (c) 2008-2024 Jonathan Schleifer <js@nil.im>
 *
 * All rights reserved.
 *
 * This file is part of ObjFW. It may be distributed under the terms of the
 * Q Public License 1.0, which can be found in the file LICENSE.QPL included in
 * the packaging of this file.
 *