#
# i386 tests
#
+if { ![istarget "i*86-*-*"] && ![istarget "x86_64-*-*"] } then {
+ return
+}
+
proc gas_64_check { } {
global NM
global NMFLAGS
return [regexp "32bit/64bit/x32" [lindex $status 1]];
}
-if [expr ([istarget "i*86-*-*"] || [istarget "x86_64-*-*"]) && [gas_32_check]] then {
-
+if [gas_32_check] then {
global ASFLAGS
set old_ASFLAGS "$ASFLAGS"
set ASFLAGS "$ASFLAGS --32"
run_dump_test "cldemote-intel"
run_dump_test "movdir"
run_dump_test "movdir-intel"
+ run_dump_test "movdir-16bit"
run_list_test "movdir64b-reg"
run_dump_test "enqcmd"
run_dump_test "enqcmd-intel"
+ run_dump_test "enqcmd-16bit"
run_list_test "enqcmd-inval"
run_dump_test "serialize"
+ run_dump_test "tdx"
run_dump_test "tsxldtrk"
run_dump_test "vp2intersect"
run_dump_test "vp2intersect-intel"
run_list_test "vp2intersect-inval-bcast"
+ run_dump_test "keylocker"
+ run_dump_test "keylocker-intel"
run_list_test "avx512vl-1" "-al"
run_list_test "avx512vl-2" "-al"
run_list_test "avx512vl-ambig"
run_dump_test "localpic"
run_dump_test "debug1"
+ run_dump_test "dwarf2-line-1"
+ run_dump_test "dwarf2-line-2"
+ run_dump_test "dwarf2-line-3"
+ run_dump_test "dwarf2-line-4"
+
run_dump_test "dw2-compress-2"
run_dump_test "dw2-compressed-2"
run_dump_test "property-4"
run_dump_test "property-5"
run_dump_test "property-6"
+ run_dump_test "property-10"
if {[istarget "*-*-linux*"]} then {
run_dump_test "align-branch-3"
}
# Common tests
-if [expr [istarget "i*86-*-*"] || [istarget "x86_64-*-*"]] then {
- if {![istarget "i*86-*-elfiamcu"] && [gas_64_check]} then {
- run_dump_test "intel-expr"
- run_dump_test "string-ok"
- }
- run_list_test "string-bad" ""
- run_list_test "reg-bad" ""
- run_list_test "space1" "-al"
- run_list_test "xmmword" ""
- run_dump_test rept
- run_dump_test pr19498
- run_list_test "nop-bad-1" ""
- run_list_test "unspec" ""
- if {[is_elf_format] || [istarget "*-*-vxworks*"]} then {
- run_list_test_stdin "list-1" "-al"
- run_list_test_stdin "list-2" "-al"
- run_list_test_stdin "list-3" "-al"
- run_dump_test "dw2-compress-1"
- run_dump_test "dw2-compress-3a"
- run_dump_test "dw2-compress-3b"
- run_dump_test "dw2-compressed-1"
- run_dump_test "dw2-compressed-3a"
- run_dump_test "dw2-compressed-3b"
+if {![istarget "i*86-*-elfiamcu"] && [gas_64_check]} then {
+ run_dump_test "intel-expr"
+ run_dump_test "string-ok"
+}
+run_list_test "string-bad" ""
+run_list_test "reg-bad" ""
+run_list_test "space1" "-al"
+run_list_test "xmmword" ""
+run_dump_test rept
+run_dump_test pr19498
+run_list_test "nop-bad-1" ""
+run_list_test "unspec" ""
+if {[is_elf_format] || [istarget "*-*-vxworks*"]} then {
+ run_list_test_stdin "list-1" "-al"
+ run_list_test_stdin "list-2" "-al"
+ run_list_test_stdin "list-3" "-al"
+ run_dump_test "dw2-compress-1"
+ run_dump_test "dw2-compress-3a"
+ run_dump_test "dw2-compress-3b"
+ run_dump_test "dw2-compressed-1"
+ run_dump_test "dw2-compressed-3a"
+ run_dump_test "dw2-compressed-3b"
- if {![istarget "*-*-dragonfly*"]
- && ![istarget "*-*-gnu*"]
- && ![istarget "*-*-freebsd*"]
- && ![istarget "*-*-linux*"]
- && ![istarget "*-*-netbsd*"]} then {
- run_dump_test "svr4"
- }
+ if {![istarget "*-*-dragonfly*"]
+ && ![istarget "*-*-gnu*"]
+ && ![istarget "*-*-freebsd*"]
+ && ![istarget "*-*-linux*"]
+ && ![istarget "*-*-netbsd*"]} then {
+ run_dump_test "svr4"
}
}
-if [expr ([istarget "i*86-*-*"] || [istarget "x86_64-*-*"]) && [gas_64_check]] then {
-
+if [gas_64_check] then {
global ASFLAGS
set old_ASFLAGS "$ASFLAGS"
set ASFLAGS "$ASFLAGS --64 --defsym x86_64=1 --strip-local-absolute"
run_dump_test "x86-64-enqcmd-intel"
run_list_test "x86-64-enqcmd-inval"
run_dump_test "x86-64-serialize"
+ run_dump_test "x86-64-tdx"
run_dump_test "x86-64-tsxldtrk"
run_dump_test "x86-64-vp2intersect"
run_dump_test "x86-64-vp2intersect-intel"
run_list_test "x86-64-vp2intersect-inval-bcast"
+ run_dump_test "x86-64-keylocker"
+ run_dump_test "x86-64-keylocker-intel"
run_dump_test "x86-64-fence-as-lock-add-yes"
run_dump_test "x86-64-fence-as-lock-add-no"
run_dump_test "x86-64-pr20141"
run_dump_test "x86-64-property-7"
run_dump_test "x86-64-property-8"
run_dump_test "x86-64-property-9"
+ run_dump_test "x86-64-property-10"
if {[istarget "*-*-linux*"]} then {
run_dump_test "x86-64-align-branch-3"