Mercurial > hg > graal-jvmci-8
comparison src/cpu/x86/vm/interp_masm_x86_64.cpp @ 23614:32b682649973 jdk8u75-b04
8132051: Better byte behavior
Reviewed-by: coleenp, roland
author | kevinw |
---|---|
date | Fri, 15 Jan 2016 22:33:15 +0000 |
parents | ea79ab313e98 |
children | b5f3a471e646 |
comparison
equal
deleted
inserted
replaced
23613:b374548dcb48 | 23614:32b682649973 |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved. | 2 * Copyright (c) 2003, 2016, 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. |
147 case atos: movptr(rax, oop_addr); | 147 case atos: movptr(rax, oop_addr); |
148 movptr(oop_addr, (int32_t)NULL_WORD); | 148 movptr(oop_addr, (int32_t)NULL_WORD); |
149 verify_oop(rax, state); break; | 149 verify_oop(rax, state); break; |
150 case ltos: movptr(rax, val_addr); break; | 150 case ltos: movptr(rax, val_addr); break; |
151 case btos: // fall through | 151 case btos: // fall through |
152 case ztos: // fall through | |
152 case ctos: // fall through | 153 case ctos: // fall through |
153 case stos: // fall through | 154 case stos: // fall through |
154 case itos: movl(rax, val_addr); break; | 155 case itos: movl(rax, val_addr); break; |
155 case ftos: movflt(xmm0, val_addr); break; | 156 case ftos: movflt(xmm0, val_addr); break; |
156 case dtos: movdbl(xmm0, val_addr); break; | 157 case dtos: movdbl(xmm0, val_addr); break; |
385 | 386 |
386 void InterpreterMacroAssembler::pop(TosState state) { | 387 void InterpreterMacroAssembler::pop(TosState state) { |
387 switch (state) { | 388 switch (state) { |
388 case atos: pop_ptr(); break; | 389 case atos: pop_ptr(); break; |
389 case btos: | 390 case btos: |
391 case ztos: | |
390 case ctos: | 392 case ctos: |
391 case stos: | 393 case stos: |
392 case itos: pop_i(); break; | 394 case itos: pop_i(); break; |
393 case ltos: pop_l(); break; | 395 case ltos: pop_l(); break; |
394 case ftos: pop_f(); break; | 396 case ftos: pop_f(); break; |
402 void InterpreterMacroAssembler::push(TosState state) { | 404 void InterpreterMacroAssembler::push(TosState state) { |
403 verify_oop(rax, state); | 405 verify_oop(rax, state); |
404 switch (state) { | 406 switch (state) { |
405 case atos: push_ptr(); break; | 407 case atos: push_ptr(); break; |
406 case btos: | 408 case btos: |
409 case ztos: | |
407 case ctos: | 410 case ctos: |
408 case stos: | 411 case stos: |
409 case itos: push_i(); break; | 412 case itos: push_i(); break; |
410 case ltos: push_l(); break; | 413 case ltos: push_l(); break; |
411 case ftos: push_f(); break; | 414 case ftos: push_f(); break; |