Mercurial > hg > graal-jvmci-8
comparison graal/com.oracle.max.asm/src/com/oracle/max/asm/target/amd64/AMD64Assembler.java @ 5711:4d7175cf3526
enabled Eclipse/JDT javadoc checking and fixed resulting warnings
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Thu, 28 Jun 2012 11:11:12 +0200 |
parents | 69a8969dbf40 |
children | 956217932b8c |
comparison
equal
deleted
inserted
replaced
5710:8d31a849ca97 | 5711:4d7175cf3526 |
---|---|
2183 | 2183 |
2184 /** | 2184 /** |
2185 * Creates prefix and the encoding of the lower 6 bits of the ModRM-Byte. It emits an operand prefix. If the given | 2185 * Creates prefix and the encoding of the lower 6 bits of the ModRM-Byte. It emits an operand prefix. If the given |
2186 * operands exceed 3 bits, the 4th bit is encoded in the prefix. | 2186 * operands exceed 3 bits, the 4th bit is encoded in the prefix. |
2187 * | 2187 * |
2188 * @param regEnc the encoding of the register part of the ModRM-Byte | 2188 * @param regEncoding the encoding of the register part of the ModRM-Byte |
2189 * @param rmEnc the encoding of the r/m part of the ModRM-Byte | 2189 * @param rmEncoding the encoding of the r/m part of the ModRM-Byte |
2190 * @return the lower 6 bits of the ModRM-Byte that should be emitted | 2190 * @return the lower 6 bits of the ModRM-Byte that should be emitted |
2191 */ | 2191 */ |
2192 private int prefixqAndEncode(int regEncoding, int rmEncoding) { | 2192 private int prefixqAndEncode(int regEncoding, int rmEncoding) { |
2193 int rmEnc = rmEncoding; | 2193 int rmEnc = rmEncoding; |
2194 int regEnc = regEncoding; | 2194 int regEnc = regEncoding; |