# HG changeset patch # User KUBOTA Yuji # Date 1490452942 -32400 # Node ID f3d7307b0ee3b493932cd1710398125d260b55f7 # Parent aba6d9899517cd9f8b1b3cdd0b3d3b6d8fced87f Bug 3342: Replace LDDQU instruction for uncached memory regions Reviewed-by: yasuenag https://github.com/HeapStats/heapstats/pull/87 diff -r aba6d9899517 -r f3d7307b0ee3 ChangeLog --- a/ChangeLog Mon Feb 27 19:22:39 2017 +0900 +++ b/ChangeLog Sat Mar 25 23:42:22 2017 +0900 @@ -1,3 +1,7 @@ +2017-03-25 KUBOTA Yuji + + * Bug 3342: Replace LDDQU instruction for uncached memory regions + 2017-02-27 Yasumasa Suenaga * Bug 3331: Refactoring for memory management in HeapStats Agent diff -r aba6d9899517 -r f3d7307b0ee3 agent/src/heapstats-engines/arch/x86/avx/jvmInfo.inline.hpp --- a/agent/src/heapstats-engines/arch/x86/avx/jvmInfo.inline.hpp Mon Feb 27 19:22:39 2017 +0900 +++ b/agent/src/heapstats-engines/arch/x86/avx/jvmInfo.inline.hpp Sat Mar 25 23:42:22 2017 +0900 @@ -35,10 +35,10 @@ * Code Name Sandy Bridge */ asm volatile( - "vlddqu (%0), %%ymm0;" - "vlddqu 32(%0), %%ymm1;" + "vmovdqu (%0), %%ymm0;" + "vmovdqu 32(%0), %%ymm1;" "vmovdqa %%ymm0, (%1);" - "vlddqu 64(%0), %%xmm0;" + "vmovdqu 64(%0), %%xmm0;" "vmovdqa %%ymm1, 32(%1);" "vmovdqa %%xmm0, 64(%1);" : diff -r aba6d9899517 -r f3d7307b0ee3 agent/src/heapstats-engines/arch/x86/sse3/jvmInfo.inline.hpp --- a/agent/src/heapstats-engines/arch/x86/sse3/jvmInfo.inline.hpp Mon Feb 27 19:22:39 2017 +0900 +++ b/agent/src/heapstats-engines/arch/x86/sse3/jvmInfo.inline.hpp Sat Mar 25 23:42:22 2017 +0900 @@ -35,13 +35,13 @@ * Code Name Sandy Bridge */ asm volatile( - "lddqu (%0), %%xmm0;" - "lddqu 16(%0), %%xmm1;" + "movdqu (%0), %%xmm0;" + "movdqu 16(%0), %%xmm1;" "movdqa %%xmm0, (%1);" - "lddqu 32(%0), %%xmm0;" - "lddqu 48(%0), %%xmm2;" + "movdqu 32(%0), %%xmm0;" + "movdqu 48(%0), %%xmm2;" "movdqa %%xmm1, 16(%1);" - "lddqu 64(%0), %%xmm1;" + "movdqu 64(%0), %%xmm1;" "movdqa %%xmm0, 32(%1);" "movdqa %%xmm2, 48(%1);" "movdqa %%xmm1, 64(%1);"