Re: D correctly simulated by H never halts

Liste des GroupesRevenir à cl c++ 
Sujet : Re: D correctly simulated by H never halts
De : chris.m.thomasson.1 (at) *nospam* gmail.com (Chris M. Thomasson)
Groupes : comp.lang.c++ comp.lang.c
Date : 29. May 2024, 20:59:45
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v37tv2$18sc1$2@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
User-Agent : Mozilla Thunderbird
On 5/29/2024 6:34 AM, olcott wrote:
On 5/28/2024 11:54 PM, Chris M. Thomasson wrote:
On 5/28/2024 8:29 PM, olcott wrote:
On 5/28/2024 10:05 PM, Chris M. Thomasson wrote:
[...]
too vague? Oh that is rich.
>
I had to start specifying the x86 language because dozens of reviewers
believed that D correctly simulated by H was supposed to report on the
behavior of non-input: int main() { D(D); }
>
It was only that I could show that this would require simulating
the x86 instructions of D incorrectly or in the wrong order that
I could prove that they were wrong. Their mistake was my primary
rebuttal for two years.
>
>
How do you simulate cmpxchg8b?
 That is not an x86 instruction it is an x64 instruction
https://phoenixnap.com/kb/x64-vs-x86
 https://www.felixcloutier.com/x86/cmpxchg8b:cmpxchg16b
 
Why do you say that its an x64 instruction? cmpxchg8b is on IA-32. I used it all the time back in the day. Here is some of my old assembly code for a DWCAS. By the way, DWCAS means double-width compare-and-swap:
https://web.archive.org/web/20060214112539/http://appcore.home.comcast.net/appcore/src/cpu/i686/ac_i686_masm_asm.html
__________________
align 16
np_ac_i686_atomic_dwcas_fence PROC
   push esi
   push ebx
   mov esi, [esp + 16]
   mov eax, [esi]
   mov edx, [esi + 4]
   mov esi, [esp + 20]
   mov ebx, [esi]
   mov ecx, [esi + 4]
   mov esi, [esp + 12]
   lock cmpxchg8b qword ptr [esi]
   jne np_ac_i686_atomic_dwcas_fence_fail
   xor eax, eax
   pop ebx
   pop esi
   ret
np_ac_i686_atomic_dwcas_fence_fail:
   mov esi, [esp + 16]
   mov [esi + 0],  eax;
   mov [esi + 4],  edx;
   mov eax, 1
   pop ebx
   pop esi
   ret
np_ac_i686_atomic_dwcas_fence ENDP
__________________
It's prototype is:
http://appcore.home.comcast.net/appcore/include/cpu/i686/ac_i686_h.html
__________________
AC_SYS_APIEXPORT
int AC_CDECL
np_ac_i686_atomic_dwcas_fence
( void*,
   void*,
   const void* );
__________________

Date Sujet#  Auteur
23 May 24 * Can you see that D correctly simulated by H remains stuck in recursive simulation?66olcott
23 May 24 +* Re: Can you see that D correctly simulated by H remains stuck in recursive simulation?7Marcel Mueller
23 May 24 i+* Re: Can you see that D correctly simulated by H remains stuck in recursive simulation?5olcott
23 May 24 ii`* Re: Can you see that D correctly simulated by H remains stuck in recursive simulation?4Bonita Montero
23 May 24 ii `* Re: Can you see that D correctly simulated by H remains stuck in recursive simulation?3olcott
24 May 24 ii  `* Re: Can you see that D correctly simulated by H remains stuck in recursive simulation?2Chris M. Thomasson
24 May 24 ii   `- Re: Can you see that D correctly simulated by H remains stuck in recursive simulation?1Sam
24 May 24 i`- Re: Can you see that D correctly simulated by H remains stuck in recursive simulation?1Chris M. Thomasson
23 May 24 +* Re: Can you see that D correctly simulated by H remains stuck in recursive simulation?17Sam
24 May 24 i+* Re: Can you see that D correctly simulated by H remains stuck in recursive simulation?15olcott
24 May 24 ii`* Re: Can you see that D correctly simulated by H remains stuck in recursive simulation?14Sam
24 May 24 ii +* Re: Can you see that D correctly simulated by H remains stuck in recursive simulation?8olcott
24 May 24 ii i+- Re: Can you see that D correctly simulated by H remains stuck in recursive simulation?1Chris M. Thomasson
24 May 24 ii i`* Re: Can you see that D correctly simulated by H remains stuck in recursive simulation?6Sam
24 May 24 ii i +* Re: Can you see that D correctly simulated by H remains stuck in recursive simulation?2Kenny McCormack
24 May 24 ii i i`- Re: Can you see that D correctly simulated by H remains stuck in recursive simulation?1olcott
24 May 24 ii i `* Re: Can you see that D correctly simulated by H remains stuck in recursive simulation?3Keith Thompson
24 May 24 ii i  `* Re: Can you see that D correctly simulated by H remains stuck in recursive simulation?2olcott
25 May 24 ii i   `- Re: Can you see that D correctly simulated by H remains stuck in recursive simulation?1Chris M. Thomasson
24 May 24 ii +- Re: Can you see that D correctly simulated by H remains stuck in recursive simulation?1olcott
24 May 24 ii +* Re: Can you see that D correctly simulated by H remains stuck in recursive simulation?2Keith Thompson
24 May 24 ii i`- Re: Can you see that D correctly simulated by H remains stuck in recursive simulation?1olcott
24 May 24 ii `* Re: Can you see that D correctly simulated by H remains stuck in recursive simulation?2olcott
24 May 24 ii  `- Re: Can you see that D correctly simulated by H remains stuck in recursive simulation?1Sam
24 May 24 i`- Re: Can you see that D correctly simulated by H remains stuck in recursive simulation?1Chris M. Thomasson
24 May 24 +* Re: Can you see that D correctly simulated by H remains stuck in recursive simulation?6Richard Harnden
24 May 24 i`* Re: Can you see that D correctly simulated by H remains stuck in recursive simulation?5olcott
24 May 24 i +* Re: Can you see that D correctly simulated by H remains stuck in recursive simulation?2David Brown
24 May 24 i i`- Re: Can you see that D correctly simulated by H remains stuck in recursive simulation?1olcott
24 May 24 i +- Re: Can you see that D correctly simulated by H remains stuck in recursive simulation?1Fred. Zwarts
24 May 24 i `- Re: Can you see that D correctly simulated by H remains stuck in recursive simulation?1Fred. Zwarts
24 May 24 +* Re: Can you see that D correctly simulated by H remains stuck in recursive simulation?4Fred. Zwarts
24 May 24 i`* Re: Can you see that D correctly simulated by H remains stuck in recursive simulation?3olcott
24 May 24 i `* Re: Can you see that D correctly simulated by H remains stuck in recursive simulation?2Fred. Zwarts
24 May 24 i  `- Re: Can you see that D correctly simulated by H remains stuck in recursive simulation?1olcott
25 May 24 `* Re: Can you see that D correctly simulated by H remains stuck in recursive simulation?31Fred. Zwarts
25 May 24  +* Re: Can you see that D correctly simulated by H remains stuck in recursive simulation?2Tim Rentsch
25 May 24  i`- Re: Can you see that D correctly simulated by H remains stuck in recursive simulation?1olcott
25 May 24  +* Re: Can you see that D correctly simulated by H remains stuck in recursive simulation?2olcott
26 May 24  i`- Re: Can you see that D correctly simulated by H remains stuck in recursive simulation?1Fred. Zwarts
25 May 24  +* Re: Can you see that D correctly simulated by H remains stuck in recursive simulation?3Mike Terry
25 May 24  i+- D correctly simulated by pure function H cannot possibly reach its own line 061olcott
25 May 24  i`- D correctly simulated by pure function H cannot possibly reach its own line 06---TOC divergence1olcott
26 May 24  `* Re: Can you see that D correctly simulated by H remains stuck in recursive simulation?23olcott
26 May 24   `* Re: Can you see that D correctly simulated by H remains stuck in recursive simulation?22Fred. Zwarts
26 May 24    `* Re: Can you see that D correctly simulated by H remains stuck in recursive simulation?21olcott
26 May 24     `* Re: Can you see that D correctly simulated by H remains stuck in recursive simulation?20Fred. Zwarts
26 May 24      `* Re: Can you see that D correctly simulated by H remains stuck in recursive simulation?19olcott
27 May 24       `* Re: Can you see that D correctly simulated by H remains stuck in recursive simulation?18Fred. Zwarts
27 May 24        `* D correctly simulated by H never halts17olcott
28 May 24         `* Re: D correctly simulated by H never halts16Fred. Zwarts
28 May 24          `* Re: D correctly simulated by H never halts15olcott
28 May 24           `* Re: D correctly simulated by H never halts14Chris M. Thomasson
29 May 24            `* Re: D correctly simulated by H never halts13olcott
29 May 24             `* Re: D correctly simulated by H never halts12tTh
29 May 24              `* Re: D correctly simulated by H never halts11olcott
29 May 24               `* Re: D correctly simulated by H never halts10Chris M. Thomasson
29 May 24                `* Re: D correctly simulated by H never halts9olcott
29 May 24                 +- Re: D correctly simulated by H never halts1olcott
29 May 24                 `* Re: D correctly simulated by H never halts7Chris M. Thomasson
29 May 24                  +- Re: D correctly simulated by H never halts1olcott
29 May 24                  `* Re: D correctly simulated by H never halts5olcott
29 May 24                   +* Re: D correctly simulated by H never halts2Chris M. Thomasson
29 May 24                   i`- Re: D correctly simulated by H never halts1olcott
29 May 24                   `* Re: D correctly simulated by H never halts2Chris M. Thomasson
29 May 24                    `- Re: D correctly simulated by H never halts1Chris M. Thomasson

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal