-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
29 changed files
with
4,241 additions
and
712 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/bin/bash | ||
|
||
.github/scripts/toolchain/compare-gcc-results.sh va-list-before va-list-after |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
#!/bin/bash | ||
|
||
FILTER="va-*\ *-va-*\ va_*\ *_va_*\ *var_copy*\ *varg*\ *vaarg*\ *vararg*\ *stdar*\ *printf*" | ||
|
||
.github/scripts/toolchain/execute-gcc-tests.sh gcc-tests-va-list-after "" "\ | ||
aapcs.exp=$FILTER \ | ||
aapcs64.exp=$FILTER \ | ||
aarch64-sve-pcs.exp=$FILTER \ | ||
aarch64.exp=$FILTER \ | ||
analyzer.exp=$FILTER \ | ||
compile.exp=$FILTER \ | ||
dfp.exp=$FILTER \ | ||
dg.exp=$FILTER \ | ||
fixed-point.exp=$FILTER \ | ||
execute.exp=$FILTER \ | ||
noncompile.exp=$FILTER \ | ||
stackalign.exp=$FILTER \ | ||
torture.exp=$FILTER \ | ||
tree-prof.exp=$FILTER \ | ||
tree-ssa.exp=$FILTER \ | ||
vmx.exp=$FILTER \ | ||
format.exp" | ||
.github/scripts/toolchain/create-gcc-summary.sh artifact/gcc-tests-va-list-after > artifact/gcc-tests-va-list-after/summary.md | ||
|
||
#gcc/testsuite/g++.dg/torture/stackalign/eh-vararg-1.C | ||
#gcc/testsuite/gcc.dg/torture/c23-stdarg-split-1b.c | ||
#gcc/gcc/testsuite/gcc.dg/torture/va-arg-25.c | ||
#gcc/gcc/testsuite/gcc.dg/tree-prof/va-arg-pack-1.c |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,13 @@ | ||
*.exe | ||
*.bin | ||
*.cod | ||
*.dll | ||
*.o | ||
*.obj | ||
*.exe | ||
*.exp | ||
*.lib | ||
*.gimple | ||
*.ilk | ||
*.lib | ||
*.pdb | ||
*.gimple | ||
*.o | ||
*.obj | ||
*.so | ||
valist-all-*.s |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,88 @@ | ||
#pragma once | ||
|
||
// https://learn.microsoft.com/en-us/cpp/build/arm64-windows-abi-conventions?view=msvc-170#definitions | ||
struct short_vector_8_bytes | ||
{ | ||
int a; | ||
int b; | ||
}; | ||
|
||
struct short_vector_16_bytes | ||
{ | ||
int a; | ||
int b; | ||
int c; | ||
int d; | ||
}; | ||
|
||
struct hfa_2_floats | ||
{ | ||
float a; | ||
float b; | ||
}; | ||
|
||
struct hfa_4_floats | ||
{ | ||
float a; | ||
float b; | ||
float c; | ||
float d; | ||
}; | ||
|
||
struct hfa_2_doubles | ||
{ | ||
double a; | ||
double b; | ||
}; | ||
|
||
struct hfa_4_doubles | ||
{ | ||
double a; | ||
double b; | ||
double c; | ||
double d; | ||
}; | ||
|
||
struct hva_2_short_vector_8_bytes | ||
{ | ||
struct short_vector_8_bytes a; | ||
struct short_vector_8_bytes b; | ||
}; | ||
|
||
struct hva_4_short_vector_8_bytes | ||
{ | ||
struct short_vector_8_bytes a; | ||
struct short_vector_8_bytes b; | ||
struct short_vector_8_bytes c; | ||
struct short_vector_8_bytes d; | ||
}; | ||
|
||
struct hva_2_short_vector_16_bytes | ||
{ | ||
struct short_vector_16_bytes a; | ||
struct short_vector_16_bytes b; | ||
}; | ||
|
||
struct hva_4_short_vector_16_bytes | ||
{ | ||
struct short_vector_16_bytes a; | ||
struct short_vector_16_bytes b; | ||
struct short_vector_16_bytes c; | ||
struct short_vector_16_bytes d; | ||
}; | ||
|
||
struct composite | ||
{ | ||
char a; | ||
int b; | ||
const char *c; | ||
double d; | ||
long e; | ||
float f; | ||
char g; | ||
int h; | ||
const char *i; | ||
double j; | ||
long k; | ||
float l; | ||
}; |
Oops, something went wrong.