From: James Greenhalgh Date: Tue, 23 Jun 2015 10:06:01 +0000 (+0000) Subject: [Vax testsuite] Fixup to revision 224672, add missing testcase. X-Git-Tag: basepoints/gcc-7~6175 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7b91cc91f23ea9f964678eb4dcf5cca2e009a659;p=thirdparty%2Fgcc.git [Vax testsuite] Fixup to revision 224672, add missing testcase. Add missing testcase from r224672. 2015-06-19 James Greenhalgh * gcc.target/vax/bswapdi-1.c: New. From-SVN: r224832 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 9b5d2dc84242..19e4a7bd0aec 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2015-06-23 James Greenhalgh + + Add missing testcase from r224672. + 2015-06-19 James Greenhalgh + + * gcc.target/vax/bswapdi-1.c: New. + 2015-06-23 Andre Vehreschild 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 000000000000..c658d915ab98 --- /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)); +}