Mercurial > hg > truffle
comparison src/cpu/x86/vm/assembler_x86.hpp @ 1503:c640000b7cc1
6829193: JSR 292 needs to support SPARC
Summary: There are unimplemented portions of the hotspot code for method handles and invokedynamic specific to SPARC.
Reviewed-by: kvn, never, jrose
author | twisti |
---|---|
date | Thu, 29 Apr 2010 06:30:25 -0700 |
parents | 2f1ec89b9995 |
children | c18cbe5936b8 61b2245abf36 |
comparison
equal
deleted
inserted
replaced
1399:90acda19b80f | 1503:c640000b7cc1 |
---|---|
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. |
1509 | 1509 |
1510 // Support for sign-extension (hi:lo = extend_sign(lo)) | 1510 // Support for sign-extension (hi:lo = extend_sign(lo)) |
1511 void extend_sign(Register hi, Register lo); | 1511 void extend_sign(Register hi, Register lo); |
1512 | 1512 |
1513 // Loading values by size and signed-ness | 1513 // Loading values by size and signed-ness |
1514 void load_sized_value(Register dst, Address src, int size_in_bytes, bool is_signed); | 1514 void load_sized_value(Register dst, Address src, size_t size_in_bytes, bool is_signed); |
1515 | 1515 |
1516 // Support for inc/dec with optimal instruction selection depending on value | 1516 // Support for inc/dec with optimal instruction selection depending on value |
1517 | 1517 |
1518 void increment(Register reg, int value = 1) { LP64_ONLY(incrementq(reg, value)) NOT_LP64(incrementl(reg, value)) ; } | 1518 void increment(Register reg, int value = 1) { LP64_ONLY(incrementq(reg, value)) NOT_LP64(incrementl(reg, value)) ; } |
1519 void decrement(Register reg, int value = 1) { LP64_ONLY(decrementq(reg, value)) NOT_LP64(decrementl(reg, value)) ; } | 1519 void decrement(Register reg, int value = 1) { LP64_ONLY(decrementq(reg, value)) NOT_LP64(decrementl(reg, value)) ; } |