aboutsummaryrefslogtreecommitdiff
path: root/gcc/d/d-codegen.cc
diff options
context:
space:
mode:
authorIain Buclaw <ibuclaw@gdcproject.org>2022-06-25 15:06:43 +0200
committerIain Buclaw <ibuclaw@gdcproject.org>2022-06-28 19:05:42 +0200
commit6201277441db4023b833e6d643de8077fe38ed6e (patch)
treef352e3cda43ffefe86c022ec52655ebee1dc9f89 /gcc/d/d-codegen.cc
parented06274eacc17a224b87f23111d7ca874ea53b7c (diff)
downloadgcc-6201277441db4023b833e6d643de8077fe38ed6e.zip
gcc-6201277441db4023b833e6d643de8077fe38ed6e.tar.gz
gcc-6201277441db4023b833e6d643de8077fe38ed6e.tar.bz2
d: Add `@simd` and `@simd_clones` attributes to compiler and library
The `@simd` attribute is equivalent to `__attribute__((simd))`, and `@simd_clones` is a convenience alias to allow specifying whether the compiler should generated masked or non-masked simd clones. gcc/d/ChangeLog: * d-attribs.cc (handle_omp_declare_simd_attribute): New function. (d_handle_simd_attribute): New function. (d_langhook_common_attribute_table): Add 'omp declare simd' attribute. (d_langhook_attribute_table): Add simd attribute. libphobos/ChangeLog: * libdruntime/gcc/attributes.d (simd): Define. gcc/testsuite/ChangeLog: * gdc.dg/attr_simd1.d: New test. * gdc.dg/attr_simd2.d: New test.
Diffstat (limited to 'gcc/d/d-codegen.cc')
0 files changed, 0 insertions, 0 deletions