aboutsummaryrefslogtreecommitdiff
path: root/libjava/testsuite/libjava.lang/BuiltinBitCount.jar
diff options
context:
space:
mode:
authorRoger Sayle <roger@nextmovesoftware.com>2016-05-31 11:30:56 +0000
committerRoger Sayle <sayle@gcc.gnu.org>2016-05-31 11:30:56 +0000
commita1293f402a25801d03a58312b06b65c33702c726 (patch)
treee4795973441e52b0a0b748fb08728e4962eb277f /libjava/testsuite/libjava.lang/BuiltinBitCount.jar
parent051154a1f6be0f597b7da235d6fe13463e7629be (diff)
downloadgcc-a1293f402a25801d03a58312b06b65c33702c726.zip
gcc-a1293f402a25801d03a58312b06b65c33702c726.tar.gz
gcc-a1293f402a25801d03a58312b06b65c33702c726.tar.bz2
builtins.c (java_builtins): Use popcount* and bswap* builtins to implement bitCount() and reverseBytes()...
2016-05-31 Roger Sayle <roger@nextmovesoftware.com> gcc/java: * builtins.c (java_builtins): Use popcount* and bswap* builtins to implement bitCount() and reverseBytes() methods in java.lang.Integer and friends. (initialize_builtins): Annotate math builtins with ECF_LEAF. Call define_builtin for the new popcount* and bswap* builtins. libjava: * testsuite/libjava.lang/BuiltinBitCount.java: New test case. * testsuite/libjava.lang/BuiltinReverseBytes.java: Likewise. From-SVN: r236919
Diffstat (limited to 'libjava/testsuite/libjava.lang/BuiltinBitCount.jar')
-rw-r--r--libjava/testsuite/libjava.lang/BuiltinBitCount.jarbin0 -> 1033 bytes
1 files changed, 0 insertions, 0 deletions
diff --git a/libjava/testsuite/libjava.lang/BuiltinBitCount.jar b/libjava/testsuite/libjava.lang/BuiltinBitCount.jar
new file mode 100644
index 0000000..0f6591c
--- /dev/null
+++ b/libjava/testsuite/libjava.lang/BuiltinBitCount.jar
Binary files differ