Mercurial > hg > CbC > CbC_llvm
view clang/test/Headers/mm3dnow.c @ 176:de4ac79aef9d
...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 25 May 2020 17:13:11 +0900 |
parents | 1d019706d866 |
children |
line wrap: on
line source
// RUN: %clang_cc1 -fsyntax-only -ffreestanding %s -verify // RUN: %clang_cc1 -fsyntax-only -ffreestanding -x c++ %s -verify // expected-no-diagnostics #if defined(i386) || defined(__x86_64__) #include <mm3dnow.h> int __attribute__((__target__(("3dnow")))) foo(int a) { _m_femms(); return 4; } __m64 __attribute__((__target__(("3dnowa")))) bar(__m64 a) { return _m_pf2iw(a); } #endif