vc/tests/linkTestLib1.cpp

19 lines
310 B
C++
Raw Normal View History

2023-01-30 20:31:00 +08:00
#include <Vc/Vc>
#include <Vc/IO>
#include <Vc/support.h>
#define CAT(a, b) a##b
#define name(a, b) CAT(a, b)
using namespace Vc;
float_v
#ifdef Vc_MSVC
__declspec(dllexport)
#endif
name(fooLib1, POSTFIX)(float_v::AsArg a)
{
const float_v b = sin(a + float_v::One());
std::cerr << b;
return b;
}