diff options
author | Emil Velikov <[email protected]> | 2016-11-02 15:32:22 +0000 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2016-11-09 21:36:35 +0000 |
commit | 190bae7685e230d8fb4e9a0f9ce4a6aa3c7643f5 (patch) | |
tree | 20a19bd757a0c5e994088d48282423f3b1ea1341 /src/amd/common/ac_llvm_util.c | |
parent | a39ad185932eab4f25a0cb2b112c10d8700ef242 (diff) |
amd/addrlib: limit fastcall/regparm to GCC i386
The use of regparm causes an error on arm/arm64 builds with clang.
fastcall is allowed, but still throws a warning. As both options only
have effect on 32-bit x86 builds, limit them to that case.
v2: keep the __i386__ within GCC (Nicolai)
Cc: 13.0 <[email protected]>
Cc: Rob Herring <[email protected]>
Cc: Nicolai Hähnle <[email protected]>
Signed-off-by: Emil Velikov <[email protected]>
Reviewed-by: Nicolai Hähnle <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Reviewed-by: Rob Herring <[email protected]>
Diffstat (limited to 'src/amd/common/ac_llvm_util.c')
0 files changed, 0 insertions, 0 deletions