Mercurial > hg > truffle
comparison src/share/vm/opto/escape.cpp @ 20313:b20a35eae442
8035968: Leverage CPU Instructions to Improve SHA Performance on SPARC
Summary: Add C2 SHA intrinsics on SPARC
Reviewed-by: kvn, roland
Contributed-by: james.cheng@oracle.com
author | kvn |
---|---|
date | Wed, 11 Jun 2014 11:05:10 -0700 |
parents | 87b5e00100fe |
children | 166d744df0de |
comparison
equal
deleted
inserted
replaced
20312:922c87c9aed4 | 20313:b20a35eae442 |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved. | 2 * Copyright (c) 2005, 2014, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. | 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * | 4 * |
5 * This code is free software; you can redistribute it and/or modify it | 5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as | 6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. | 7 * published by the Free Software Foundation. |
936 strcmp(call->as_CallLeaf()->_name, "g1_wb_post") == 0 || | 936 strcmp(call->as_CallLeaf()->_name, "g1_wb_post") == 0 || |
937 strcmp(call->as_CallLeaf()->_name, "updateBytesCRC32") == 0 || | 937 strcmp(call->as_CallLeaf()->_name, "updateBytesCRC32") == 0 || |
938 strcmp(call->as_CallLeaf()->_name, "aescrypt_encryptBlock") == 0 || | 938 strcmp(call->as_CallLeaf()->_name, "aescrypt_encryptBlock") == 0 || |
939 strcmp(call->as_CallLeaf()->_name, "aescrypt_decryptBlock") == 0 || | 939 strcmp(call->as_CallLeaf()->_name, "aescrypt_decryptBlock") == 0 || |
940 strcmp(call->as_CallLeaf()->_name, "cipherBlockChaining_encryptAESCrypt") == 0 || | 940 strcmp(call->as_CallLeaf()->_name, "cipherBlockChaining_encryptAESCrypt") == 0 || |
941 strcmp(call->as_CallLeaf()->_name, "cipherBlockChaining_decryptAESCrypt") == 0) | 941 strcmp(call->as_CallLeaf()->_name, "cipherBlockChaining_decryptAESCrypt") == 0 || |
942 strcmp(call->as_CallLeaf()->_name, "sha1_implCompress") == 0 || | |
943 strcmp(call->as_CallLeaf()->_name, "sha1_implCompressMB") == 0 || | |
944 strcmp(call->as_CallLeaf()->_name, "sha256_implCompress") == 0 || | |
945 strcmp(call->as_CallLeaf()->_name, "sha256_implCompressMB") == 0 || | |
946 strcmp(call->as_CallLeaf()->_name, "sha512_implCompress") == 0 || | |
947 strcmp(call->as_CallLeaf()->_name, "sha512_implCompressMB") == 0) | |
942 ))) { | 948 ))) { |
943 call->dump(); | 949 call->dump(); |
944 fatal(err_msg_res("EA unexpected CallLeaf %s", call->as_CallLeaf()->_name)); | 950 fatal(err_msg_res("EA unexpected CallLeaf %s", call->as_CallLeaf()->_name)); |
945 } | 951 } |
946 #endif | 952 #endif |