]> gcc.gnu.org Git - gcc.git/commit
amdgcn: Add preprocessor builtins for every processor type
authorPaul-Antoine Arras <pa@codesourcery.com>
Thu, 1 Dec 2022 14:09:54 +0000 (15:09 +0100)
committerPaul-Antoine Arras <pa@codesourcery.com>
Thu, 1 Dec 2022 14:48:34 +0000 (15:48 +0100)
commite41b243302e9964e642924329826448afb21d28e
treeca2b69ac09e216f3689c046b6abd5c0b21c49939
parent798c08ca4bf3681444426093263e9e6746d1c32b
amdgcn: Add preprocessor builtins for every processor type

Provide a specific builtin for each possible value of '-march'.

gcc/ChangeLog:

* config/gcn/gcn-opts.h (TARGET_FIJI): -march=fiji.
(TARGET_VEGA10): -march=gfx900.
(TARGET_VEGA20): -march=gfx906.
(TARGET_GFX908): -march=gfx908.
(TARGET_GFX90a): -march=gfx90a.
* config/gcn/gcn.h (TARGET_CPU_CPP_BUILTINS): Define a builtin that
uniquely maps to '-march'.
gcc/config/gcn/gcn-opts.h
gcc/config/gcn/gcn.h
This page took 0.062745 seconds and 6 git commands to generate.