# 
#     Copyright (c) 2017-2018, NVIDIA CORPORATION.  All rights reserved.
#
# NVIDIA CORPORATION and its licensors retain all intellectual property
# and proprietary rights in and to this software, related documentation
# and any modifications thereto.  Any use, reproduction, disclosure or
# distribution of this software and related documentation without an express
# license agreement from NVIDIA CORPORATION is strictly prohibited.
# 

set LLCARCH=-march=x86-64;

# turn -Mlarge_arrays on by default
append F901ARGS=-x 68 0x1;
append CGARGS=-x 68 0x1;

# Disable extra vector unroll
append CGARGS=-x 39 4;

# Use the canonical form of FMA expressions
append F902ARGS=-x 56 0x10;
append CGARGS=-x 56 0x10;

# Use new name for complex intrinsics
append CGARGS=-x 26 0x10;
# FS#34074 - Use old nvcpumath entry points on Windows for now
append CGARGS=$if($notequal($substr($TARGET,0,4),win64),-x 26 1);

# Enable complex type vectorizatoin
append CGARGS=-x 56 0x4000;
