diff options
author | jgreenhalgh <jgreenhalgh@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-06-23 10:06:01 +0000 |
---|---|---|
committer | jgreenhalgh <jgreenhalgh@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-06-23 10:06:01 +0000 |
commit | 5bc2f83c1e43f88e824ec34c4c2f8d0cf836fcab (patch) | |
tree | 347803db7f283d56955be19c727e43cc47656c81 | |
parent | 505aa56acd1ed5326f880576c766a0841bb20831 (diff) | |
download | gcc-5bc2f83c1e43f88e824ec34c4c2f8d0cf836fcab.tar.gz |
[Vax testsuite] Fixup to revision 224672, add missing testcase.
Add missing testcase from r224672.
2015-06-19 James Greenhalgh <james.greenhalgh@arm.com>
* gcc.target/vax/bswapdi-1.c: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@224832 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/testsuite/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/vax/bswapdi-1.c | 13 |
2 files changed, 20 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 9b5d2dc8424..19e4a7bd0ae 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2015-06-23 James Greenhalgh <james.greenhalgh@arm.com> + + Add missing testcase from r224672. + 2015-06-19 James Greenhalgh <james.greenhalgh@arm.com> + + * gcc.target/vax/bswapdi-1.c: New. + 2015-06-23 Andre Vehreschild <vehre@gmx.de> PR fortran/64674 diff --git a/gcc/testsuite/gcc.target/vax/bswapdi-1.c b/gcc/testsuite/gcc.target/vax/bswapdi-1.c new file mode 100644 index 00000000000..c658d915ab9 --- /dev/null +++ b/gcc/testsuite/gcc.target/vax/bswapdi-1.c @@ -0,0 +1,13 @@ +typedef int DItype __attribute__ ((mode (DI))); +DItype +__bswapdi2 (DItype u) +{ + return ((((u) & 0xff00000000000000ull) >> 56) + | (((u) & 0x00ff000000000000ull) >> 40) + | (((u) & 0x0000ff0000000000ull) >> 24) + | (((u) & 0x000000ff00000000ull) >> 8) + | (((u) & 0x00000000ff000000ull) << 8) + | (((u) & 0x0000000000ff0000ull) << 24) + | (((u) & 0x000000000000ff00ull) << 40) + | (((u) & 0x00000000000000ffull) << 56)); +} |