在 2024-11-08 21:04, Martin Storsjö 写道:
Can you elaborate about the reasoning here? Isn't volatile primarily needed if the assembly has some
side effect that otherwise can't be modelled - e.g. if the outputs of the inline assembly isn't
needed, we still can't skip the whole assembly.
I don't qu
On Thu, 31 Oct 2024, LIU Hao wrote:
--
Overall, I'm not familiar enough with nontrivial aspects of x86 assembly
to comment reasonably on it - so I guess it's mostly "probably ok, if you
say so".
However this bit caught my eye:
First, these intrins read from and write to thread-local memo
--
Best regards,
LIU Hao
From 96b596ec89405a6c35b106f4b1ed16cf4ba997f0 Mon Sep 17 00:00:00 2001
From: LIU Hao
Date: Thu, 31 Oct 2024 11:25:15 +0800
Subject: [PATCH] headers/intrin-impl: Fix segment accessors
First, these intrins read from and write to thread-local memory, so the asm
statement