Mercurial > hg > truffle
comparison src/cpu/x86/vm/interpreterGenerator_x86.hpp @ 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 | b9a9ed0f8eeb |
children | 6b0fd0964b87 |
comparison
equal
deleted
inserted
replaced
11079:738e04fb1232 | 11080:b800986664f4 |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved. | 2 * Copyright (c) 1997, 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. |
37 address generate_abstract_entry(void); | 37 address generate_abstract_entry(void); |
38 address generate_math_entry(AbstractInterpreter::MethodKind kind); | 38 address generate_math_entry(AbstractInterpreter::MethodKind kind); |
39 address generate_empty_entry(void); | 39 address generate_empty_entry(void); |
40 address generate_accessor_entry(void); | 40 address generate_accessor_entry(void); |
41 address generate_Reference_get_entry(); | 41 address generate_Reference_get_entry(); |
42 address generate_CRC32_update_entry(); | |
43 address generate_CRC32_updateBytes_entry(AbstractInterpreter::MethodKind kind); | |
42 void lock_method(void); | 44 void lock_method(void); |
43 void generate_stack_overflow_check(void); | 45 void generate_stack_overflow_check(void); |
44 | 46 |
45 void generate_counter_incr(Label* overflow, Label* profile_method, Label* profile_method_continue); | 47 void generate_counter_incr(Label* overflow, Label* profile_method, Label* profile_method_continue); |
46 void generate_counter_overflow(Label* do_continue); | 48 void generate_counter_overflow(Label* do_continue); |