multimedia/yt-dlp: update to 2025.1.12
[oi-userland.git] / components / runtime / openjdk-8 / patches / 0068-_raw_rdtsc.patch
blob002794b89ba6fd0d118c8f88f9b68b3e8fe705ae
1 --- hotspot/src/os_cpu/solaris_x86/vm/solaris_x86_64.s.orig
2 +++ hotspot/src/os_cpu/solaris_x86/vm/solaris_x86_64.s
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 @@ -384,3 +387,9 @@
16 addq $4,%rdx
17 jg 4b
18 ret
19 +// Needed because .il files are not compiled with gcc
20 +_raw_rdtsc:
21 + rdtsc
22 + salq $32, %rdx
23 + orq %rdx, %rax
24 + ret