Path: ...!news.nobody.at!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: "Fred. Zwarts" Newsgroups: comp.theory Subject: Re: Ben Bacarisse fails understand that deciders COMPUTE THE MAPPING FROM INPUTS Date: Fri, 30 Aug 2024 15:46:21 +0200 Organization: A noiseless patient Spider Lines: 72 Message-ID: References: <7a1c569a699e79bfa146affbbae3eac7b91cd263@i2pn2.org> <729cc551062c13875686d266a5453a488058e81c@i2pn2.org> <148bf4dd91f32379a6d81a621fb7ec3fc1e00db0@i2pn2.org> <5591ff08ed8f7b4bdf33813681e156b775efe0ec@i2pn2.org> <878qwn0wyz.fsf@bsb.me.uk> <87le0jzc8f.fsf_-_@bsb.me.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Fri, 30 Aug 2024 15:46:23 +0200 (CEST) Injection-Info: dont-email.me; posting-host="7c0ab3e00a1c9e70a94077d18066f3d3"; logging-data="554061"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/CDs3/MWCsC3HLdyHExMBo" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:XHn6bKfIUtoh5ncICggx+PEK3yE= In-Reply-To: Content-Language: en-GB Bytes: 5323 Op 30.aug.2024 om 15:05 schreef olcott: > On 8/30/2024 3:32 AM, Fred. Zwarts wrote: >> Op 29.aug.2024 om 23:13 schreef olcott: >>> >>> One cannot simply ignore the actual behavior of DDD emulated >>> by HHH according to the semantics of the x86 language because >>> this actual behavior is not the behavior that one expects or >>> one would like to have. >> >> You cannot deny the semantics of the x86 language simply because you >> do not like it, or you prefer another behaviour. >> The specification of the semantics of the x86 language does not give >> room for a context depending interpretation. It is independent on >> which processor, or which simulator processes this finite string. >> > > *This is before any aborting occurs* > *This is before any aborting occurs* > *This is before any aborting occurs* > > The behavior of > the directly executed DDD and executed HHH > is different from the behavior of > the emulated DDD and the emulated HHH Not according to the unmodified world calls simulator, which, when given the same input shows that the DDD based on the aborting HHH, halts. > > and all four of them are emulated by the world > class x86 emulator libx86emu > > It is easy to see that when the executed HHH emulates > DDD that it does this correctly when we look at the > execution trace and see the the first four instructions > of DDD are listed. > > _DDD() > [00002172] 55         push ebp      ; housekeeping > [00002173] 8bec       mov ebp,esp   ; housekeeping > [00002175] 6872210000 push 00002172 ; push DDD > [0000217a] e853f4ffff call 000015d2 ; call HHH(DDD) > [0000217f] 83c404     add esp,+04 > [00002182] 5d         pop ebp > [00002183] c3         ret > Size in bytes:(0018) [00002183] > > New slave_stack at:1038c4 > Begin Local Halt Decider Simulation   Execution Trace Stored at:1138cc > [00002172][001138bc][001138c0] 55         push ebp      ; housekeeping > [00002173][001138bc][001138c0] 8bec       mov ebp,esp   ; housekeeping > [00002175][001138b8][00002172] 6872210000 push 00002172 ; push DDD > [0000217a][001138b4][0000217f] e853f4ffff call 000015d2 ; call HHH(DDD) > New slave_stack at:14e2ec > [00002172][0015e2e4][0015e2e8] 55         push ebp      ; housekeeping > [00002173][0015e2e4][0015e2e8] 8bec       mov ebp,esp   ; housekeeping > [00002175][0015e2e0][00002172] 6872210000 push 00002172 ; push DDD > [0000217a][0015e2dc][0000217f] e853f4ffff call 000015d2 ; call HHH(DDD) > Local Halt Decider: Infinite Recursion Detected Simulation Stopped > > Then this emulated DDD calls an emulated HHH(DDD). > It is easy to see that when the executed HHH emulates > itself emulated DDD that it does this correctly when we > look at the execution trace and see the the first four > instructions of DDD are listed again. > > And after a few recursions HHH sees a 'special condition' after which it aborts and halt. This abort takes place before the simulated HHH would see the same 'special condition' after which it would abort and halt. This shows that the modified world class emulator claims a different behaviour than the simulator modified by olcott. Guess which one is right.