mirror of
https://github.com/intel/llvm.git
synced 2026-02-05 04:46:27 +08:00
[builtins] Make some ISA macro checks work with MSVC
llvm-svn: 299786
This commit is contained in:
@@ -90,7 +90,7 @@ uintptr_t GetCurrentProcess(void);
|
||||
*/
|
||||
|
||||
void __clear_cache(void *start, void *end) {
|
||||
#if __i386__ || __x86_64__
|
||||
#if __i386__ || __x86_64__ || defined(_M_IX86) || defined(_M_X64)
|
||||
/*
|
||||
* Intel processors have a unified instruction and data cache
|
||||
* so there is nothing to do
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
/* double __floatdidf(di_int a); */
|
||||
|
||||
#ifdef __x86_64__
|
||||
#if defined(__x86_64__) || defined(_M_X64)
|
||||
|
||||
#include "../int_lib.h"
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* License. See LICENSE.TXT for details.
|
||||
*/
|
||||
|
||||
#ifdef __x86_64__
|
||||
#if defined(__x86_64__) || defined(_M_X64)
|
||||
|
||||
#include "../int_lib.h"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user