Mercurial > hg > graal-compiler
comparison src/cpu/sparc/vm/c1_LIRGenerator_sparc.cpp @ 11080:b800986664f4
7088419: Use x86 Hardware CRC32 Instruction with java.util.zip.CRC32
Summary: add intrinsics using new instruction to interpreter, C1, C2, for suitable x86; add test
Reviewed-by: kvn, twisti
author | drchase |
---|---|
date | Tue, 02 Jul 2013 20:42:12 -0400 |
parents | 46f6f063b272 |
children | 273a462437e9 |
comparison
equal
deleted
inserted
replaced
11079:738e04fb1232 | 11080:b800986664f4 |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 2005, 2012, Oracle and/or its affiliates. All rights reserved. | 2 * Copyright (c) 2005, 2013, 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. |
782 length.result(), rlock_callee_saved(T_INT), | 782 length.result(), rlock_callee_saved(T_INT), |
783 expected_type, flags, info); | 783 expected_type, flags, info); |
784 set_no_result(x); | 784 set_no_result(x); |
785 } | 785 } |
786 | 786 |
787 void LIRGenerator::do_update_CRC32(Intrinsic* x) { | |
788 fatal("CRC32 intrinsic is not implemented on this platform"); | |
789 } | |
790 | |
787 // _i2l, _i2f, _i2d, _l2i, _l2f, _l2d, _f2i, _f2l, _f2d, _d2i, _d2l, _d2f | 791 // _i2l, _i2f, _i2d, _l2i, _l2f, _l2d, _f2i, _f2l, _f2d, _d2i, _d2l, _d2f |
788 // _i2b, _i2c, _i2s | 792 // _i2b, _i2c, _i2s |
789 void LIRGenerator::do_Convert(Convert* x) { | 793 void LIRGenerator::do_Convert(Convert* x) { |
790 | 794 |
791 switch (x->op()) { | 795 switch (x->op()) { |