tests/assembly: make windows ABI test cross-compile
This commit is contained in:
parent
43ca9d18e3
commit
5932b2fe9c
1 changed files with 9 additions and 3 deletions
|
|
@ -1,11 +1,17 @@
|
|||
//@ assembly-output: emit-asm
|
||||
//@ compile-flags: -O
|
||||
//@ only-windows
|
||||
//@ only-x86_64
|
||||
//@ compile-flags: -Copt-level=3
|
||||
//@ compile-flags: --target x86_64-pc-windows-msvc
|
||||
//@ needs-llvm-components: x86
|
||||
//@ add-core-stubs
|
||||
|
||||
#![feature(f16, f128)]
|
||||
#![feature(no_core)]
|
||||
#![no_core]
|
||||
#![crate_type = "lib"]
|
||||
|
||||
extern crate minicore;
|
||||
use minicore::*;
|
||||
|
||||
// CHECK-LABEL: second_f16
|
||||
// CHECK: movaps %xmm1, %xmm0
|
||||
// CHECK-NEXT: retq
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue