Mercurial > hg > truffle
comparison src/cpu/x86/vm/c1_LIRAssembler_x86.cpp @ 17524:89152779163c
Merge with jdk8-b132
author | Gilles Duboscq <duboscq@ssw.jku.at> |
---|---|
date | Wed, 15 Oct 2014 11:59:32 +0200 |
parents | 1b96d1a74514 |
children | 52b4284cb496 |
comparison
equal
deleted
inserted
replaced
17450:45b45f902bed | 17524:89152779163c |
---|---|
36 #include "memory/barrierSet.hpp" | 36 #include "memory/barrierSet.hpp" |
37 #include "memory/cardTableModRefBS.hpp" | 37 #include "memory/cardTableModRefBS.hpp" |
38 #include "nativeInst_x86.hpp" | 38 #include "nativeInst_x86.hpp" |
39 #include "oops/objArrayKlass.hpp" | 39 #include "oops/objArrayKlass.hpp" |
40 #include "runtime/sharedRuntime.hpp" | 40 #include "runtime/sharedRuntime.hpp" |
41 #include "vmreg_x86.inline.hpp" | |
41 | 42 |
42 | 43 |
43 // These masks are used to provide 128-bit aligned bitmasks to the XMM | 44 // These masks are used to provide 128-bit aligned bitmasks to the XMM |
44 // instructions, to allow sign-masking or sign-bit flipping. They allow | 45 // instructions, to allow sign-masking or sign-bit flipping. They allow |
45 // fast versions of NegF/NegD and AbsF/AbsD. | 46 // fast versions of NegF/NegD and AbsF/AbsD. |
1010 __ verify_oop(src->as_register()); | 1011 __ verify_oop(src->as_register()); |
1011 #ifdef _LP64 | 1012 #ifdef _LP64 |
1012 if (UseCompressedOops && !wide) { | 1013 if (UseCompressedOops && !wide) { |
1013 __ movptr(compressed_src, src->as_register()); | 1014 __ movptr(compressed_src, src->as_register()); |
1014 __ encode_heap_oop(compressed_src); | 1015 __ encode_heap_oop(compressed_src); |
1016 if (patch_code != lir_patch_none) { | |
1017 info->oop_map()->set_narrowoop(compressed_src->as_VMReg()); | |
1018 } | |
1015 } | 1019 } |
1016 #endif | 1020 #endif |
1017 } | 1021 } |
1018 | 1022 |
1019 if (patch_code != lir_patch_none) { | 1023 if (patch_code != lir_patch_none) { |