1. Adds the command line flag for clzero. 2. Includes the clzero flag under znver1. 3. Defines the macro for clzero. 4. Adds a new file which has the intrinsic definition for clzero instruction. Patch by Ganesh Gopalasubramanian with some additional tests from me. Differential revision: https://reviews.llvm.org/D29386 llvm-svn: 294559
10 lines
302 B
C
10 lines
302 B
C
// RUN: %clang_cc1 %s -triple=x86_64-apple-darwin -target-feature +clflushopt -emit-llvm -o - -Wall -Werror | FileCheck %s
|
|
#define __MM_MALLOC_H
|
|
|
|
#include <immintrin.h>
|
|
void test_mm_clflushopt(char * __m) {
|
|
//CHECK-LABEL: @test_mm_clflushopt
|
|
//CHECK: @llvm.x86.clflushopt
|
|
_mm_clflushopt(__m);
|
|
}
|