Mercurial > hg > graal-jvmci-8
comparison src/share/vm/classfile/vmSymbols.hpp @ 1396:d7f654633cfe
6946040: add intrinsic for short and char reverseBytes
Reviewed-by: never, twisti
Contributed-by: Hiroshi Yamauchi <yamauchi@google.com>
author | never |
---|---|
date | Mon, 26 Apr 2010 11:27:21 -0700 |
parents | 9b9c1ee9b3f6 |
children | b30a2cd5e3a2 cd5dbf694d45 |
comparison
equal
deleted
inserted
replaced
1385:bc32f286fae0 | 1396:d7f654633cfe |
---|---|
1 /* | 1 /* |
2 * Copyright 1997-2009 Sun Microsystems, Inc. All Rights Reserved. | 2 * Copyright 1997-2010 Sun Microsystems, Inc. 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. |
355 template(void_long_signature, "()J") \ | 355 template(void_long_signature, "()J") \ |
356 template(void_float_signature, "()F") \ | 356 template(void_float_signature, "()F") \ |
357 template(void_double_signature, "()D") \ | 357 template(void_double_signature, "()D") \ |
358 template(int_void_signature, "(I)V") \ | 358 template(int_void_signature, "(I)V") \ |
359 template(int_int_signature, "(I)I") \ | 359 template(int_int_signature, "(I)I") \ |
360 template(char_char_signature, "(C)C") \ | |
361 template(short_short_signature, "(S)S") \ | |
360 template(int_bool_signature, "(I)Z") \ | 362 template(int_bool_signature, "(I)Z") \ |
361 template(float_int_signature, "(F)I") \ | 363 template(float_int_signature, "(F)I") \ |
362 template(double_long_signature, "(D)J") \ | 364 template(double_long_signature, "(D)J") \ |
363 template(double_double_signature, "(D)D") \ | 365 template(double_double_signature, "(D)D") \ |
364 template(int_float_signature, "(I)F") \ | 366 template(int_float_signature, "(I)F") \ |
583 \ | 585 \ |
584 do_intrinsic(_reverseBytes_i, java_lang_Integer, reverseBytes_name, int_int_signature, F_S) \ | 586 do_intrinsic(_reverseBytes_i, java_lang_Integer, reverseBytes_name, int_int_signature, F_S) \ |
585 do_name( reverseBytes_name, "reverseBytes") \ | 587 do_name( reverseBytes_name, "reverseBytes") \ |
586 do_intrinsic(_reverseBytes_l, java_lang_Long, reverseBytes_name, long_long_signature, F_S) \ | 588 do_intrinsic(_reverseBytes_l, java_lang_Long, reverseBytes_name, long_long_signature, F_S) \ |
587 /* (symbol reverseBytes_name defined above) */ \ | 589 /* (symbol reverseBytes_name defined above) */ \ |
590 do_intrinsic(_reverseBytes_c, java_lang_Character, reverseBytes_name, char_char_signature, F_S) \ | |
591 /* (symbol reverseBytes_name defined above) */ \ | |
592 do_intrinsic(_reverseBytes_s, java_lang_Short, reverseBytes_name, short_short_signature, F_S) \ | |
593 /* (symbol reverseBytes_name defined above) */ \ | |
588 \ | 594 \ |
589 do_intrinsic(_identityHashCode, java_lang_System, identityHashCode_name, object_int_signature, F_S) \ | 595 do_intrinsic(_identityHashCode, java_lang_System, identityHashCode_name, object_int_signature, F_S) \ |
590 do_name( identityHashCode_name, "identityHashCode") \ | 596 do_name( identityHashCode_name, "identityHashCode") \ |
591 do_intrinsic(_currentTimeMillis, java_lang_System, currentTimeMillis_name, void_long_signature, F_S) \ | 597 do_intrinsic(_currentTimeMillis, java_lang_System, currentTimeMillis_name, void_long_signature, F_S) \ |
592 \ | 598 \ |