rebuild gst-plugins-good1 for libvpx-1.15.0; fix gcc-14 problem
[oi-userland.git] / components / runtime / openjdk-8 / patches / 0068-_raw_rdtsc.patch
bloba74315d6ceb90d58c80ac5e860f2f451ef416429
1 --- hotspot/src/os_cpu/solaris_x86/vm/solaris_x86_64.s Sun Jul 31 16:21:00 2022
2 +++ hotspot/src/os_cpu/solaris_x86/vm/solaris_x86_64.s Thu Nov 10 11:10:39 2022
3 @@ -38,8 +38,11 @@
4 .globl _Copy_conjoint_jlongs_atomic
5 .globl _Copy_arrayof_conjoint_jlongs
7 + .globl _raw_rdtsc
9 .section .text,"ax"
12 / Fast thread accessors, used by threadLS_solaris_amd64.cpp
13 .align 16
14 fs_load:
15 @@ -383,4 +386,10 @@
16 jge 5b
17 addq $4,%rdx
18 jg 4b
19 + ret
20 +// Needed because .il files are not compiled with gcc
21 +_raw_rdtsc:
22 + rdtsc
23 + salq $32, %rdx
24 + orq %rdx, %rax
25 ret