Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/videolan/dav1d.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2018-10-25 11:58:51 +0300
committerRonald S. Bultje <rsbultje@gmail.com>2018-10-25 17:50:40 +0300
commit6cb362d015ba0592eb72eb3face5ed806d20c738 (patch)
treed661dd506930e7fd21cc1ad443d6b6f0954f21be /tests/libfuzzer/main.c
parent1bb1ec21eae5934b06323f2e3dfe9cac8b41c5ed (diff)
attributes: Don't align to more than what assembly needs/benefits from
For arm/arm64, there's no need to align any buffer to 32 bytes as the assembly doesn't need it and doesn't benefit from it. This would be much more elegant if defined like this: #define MAX_ALIGN 16 #define ALIGN(align) __attribute__((aligned(MIN(align, MAX_ALIGN)))) This works for GCC and Clang, but the MSVC alignment __declspec needs a literal alignment value, it can't handle an expression.
Diffstat (limited to 'tests/libfuzzer/main.c')
0 files changed, 0 insertions, 0 deletions