This is a breaking API change: the following settings have been renamed: - jump_tables_enabled -> enable_jump_tables - colocated_libcalls -> use_colocated_libcalls - probestack_enabled -> enable_probestack - allones_funcaddrs -> emit_all_ones_funcaddrs
This commit is contained in:
committed by
Sean Stangl
parent
bd88155483
commit
dd497c19e1
@@ -1,7 +1,7 @@
|
||||
; binary emission of 32-bit code.
|
||||
test binemit
|
||||
set opt_level=speed_and_size
|
||||
set allones_funcaddrs
|
||||
set emit_all_ones_funcaddrs
|
||||
target i686 haswell
|
||||
|
||||
; The binary encodings can be verified with the command:
|
||||
@@ -9,7 +9,7 @@ target i686 haswell
|
||||
; sed -ne 's/^ *; asm: *//p' filetests/isa/x86/allones_funcaddrs32.clif | llvm-mc -show-encoding -triple=i386
|
||||
;
|
||||
|
||||
; Tests from binary32.clif affected by allones_funcaddrs.
|
||||
; Tests from binary32.clif affected by emit_all_ones_funcaddrs.
|
||||
function %I32() {
|
||||
sig0 = ()
|
||||
fn0 = %foo()
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
; binary emission of 64-bit code.
|
||||
test binemit
|
||||
set opt_level=speed_and_size
|
||||
set allones_funcaddrs
|
||||
set emit_all_ones_funcaddrs
|
||||
target x86_64 haswell
|
||||
|
||||
; The binary encodings can be verified with the command:
|
||||
@@ -9,7 +9,7 @@ target x86_64 haswell
|
||||
; sed -ne 's/^ *; asm: *//p' filetests/isa/x86/allones_funcaddrs64.clif | llvm-mc -show-encoding -triple=x86_64
|
||||
;
|
||||
|
||||
; Tests from binary64.clif affected by allones_funcaddrs.
|
||||
; Tests from binary64.clif affected by emit_all_ones_funcaddrs.
|
||||
function %I64() {
|
||||
sig0 = ()
|
||||
fn0 = %foo()
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
test compile
|
||||
set probestack_enabled=false
|
||||
set enable_probestack=false
|
||||
target i686
|
||||
|
||||
function u0:0(i32 vmctx) baldrdash_system_v {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
test compile
|
||||
set enable_simd=true
|
||||
set probestack_enabled=false
|
||||
set enable_probestack=false
|
||||
target x86_64 haswell
|
||||
|
||||
; use baldrdash calling convention here for simplicity (avoids prologue, epilogue)
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
test compile
|
||||
set enable_simd=true
|
||||
set probestack_enabled=false
|
||||
set enable_probestack=false
|
||||
target x86_64 haswell
|
||||
|
||||
; use baldrdash_system_v calling convention here for simplicity (avoids prologue, epilogue)
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
test compile
|
||||
set colocated_libcalls=1
|
||||
set use_colocated_libcalls=1
|
||||
set probestack_func_adjusts_sp=1
|
||||
target x86_64
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
test compile
|
||||
set colocated_libcalls=1
|
||||
set probestack_enabled=0
|
||||
set use_colocated_libcalls=1
|
||||
set enable_probestack=0
|
||||
target x86_64
|
||||
|
||||
; Like %big in probestack.clif, but with probes disabled.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
test compile
|
||||
set colocated_libcalls=1
|
||||
set use_colocated_libcalls=1
|
||||
set probestack_size_log2=13
|
||||
target x86_64
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
test compile
|
||||
set colocated_libcalls=1
|
||||
set use_colocated_libcalls=1
|
||||
target x86_64
|
||||
|
||||
; A function with a big stack frame. This should have a stack probe.
|
||||
|
||||
@@ -2,8 +2,8 @@ test binemit
|
||||
set opt_level=speed_and_size
|
||||
set avoid_div_traps
|
||||
set baldrdash_prologue_words=3
|
||||
set allones_funcaddrs
|
||||
set probestack_enabled=false
|
||||
set emit_all_ones_funcaddrs
|
||||
set enable_probestack=false
|
||||
target x86_64 haswell
|
||||
|
||||
; This checks that a branch that is too far away is getting relaxed. In
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
test compile
|
||||
set opt_level=speed_and_size
|
||||
set probestack_enabled=false
|
||||
set enable_probestack=false
|
||||
set enable_simd
|
||||
target x86_64
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
test legalizer
|
||||
set probestack_enabled=false
|
||||
set jump_tables_enabled=false
|
||||
set enable_probestack=false
|
||||
set enable_jump_tables=false
|
||||
target x86_64
|
||||
|
||||
; Test that when jump_tables_enables is false, all jump tables are eliminated.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
test legalizer
|
||||
set probestack_enabled=false
|
||||
set jump_tables_enabled=false
|
||||
set enable_probestack=false
|
||||
set enable_jump_tables=false
|
||||
target x86_64
|
||||
|
||||
function u0:0(i64) {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
; Use "test compile" here otherwise the dead blocks won't be eliminated.
|
||||
test compile
|
||||
|
||||
set probestack_enabled=0
|
||||
set enable_probestack=0
|
||||
target x86_64 haswell
|
||||
|
||||
; This function contains unreachable blocks which trip up the register
|
||||
|
||||
Reference in New Issue
Block a user