office-gobmx/tools/qa/cppunit/test_cpu_runtime_detection_x86_checks.hxx
Dr. David Alan Gilbert 15a5a56326 Fix SSE2 cpuid checks
As per afb62b0e96 swing the actual
check into a separate file and make only that file be compiled
with the specific flag.

Change-Id: If848a041fc3a26cfaa79f945d63f6c43f8cf3772
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103497
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2020-09-28 13:22:11 +02:00

23 lines
686 B
C++

/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#ifndef INCLUDE_TOOLS_QA_CPPUNIT_TEST_CPU_RUNTIME_DETECTION_X86_CHECKS_H
#define INCLUDE_TOOLS_QA_CPPUNIT_TEST_CPU_RUNTIME_DETECTION_X86_CHECKS_H
class CpuRuntimeDetectionX86Checks
{
public:
static void checkAVX2();
static void checkSSE2();
static void checkSSSE3();
};
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */