Menu

#4031 uCsim: tlcs90 gcc-torture-execute-20011126-2 test failure

closed-fixed
Simulator
5
2026-07-09
2026-07-04
No

Reproduce via

philipp@notebook7:~/sdcc-trunk/sdcc/support/regression$ make random-test-12583515879250967548 
Creating random-12583515879250967548 based on tlcs90 with additional options: --opt-code-size --nopurity --nolospre --nolabelopt --noloopreverse --no-peep --max-allocs-per-node 65536 
Running random-12583515879250967548 regression tests
Summary for 'random-12583515879250967548': 1 abnormal stops ( ), 0 failures, 36256 tests, 6252 test cases, 0 bytes, 2017747316 ticks
   abnormal stop: gcc-torture-execute-20011126-2.c

Discussion

  • Philipp Klaus Krause

    • labels: --> uCsim, tlcs90
    • summary: tlcs90 gcc-torture-execute-20011126-2 test failure --> uCsim: tlcs90 gcc-torture-execute-20011126-2 test failure
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,4 +1,4 @@
    -Reproducew via
    +Reproduce via
    
     ~~~~
     philipp@notebook7:~/sdcc-trunk/sdcc/support/regression$ make random-test-12583515879250967548 
    
    • Category: other --> Simulator
     
  • Philipp Klaus Krause

    Looks like an uCsim issue with the cp hl, (sp) instruction:

    Stop at 0x0003cd: (109) stepped 8 ticks
    SZIHXVNC  Flags= 0x9b 155 .  A= 0x61  97 a
    10011011
    BC= 0x03fc [BC]= 61  97 a  DE= 0xff96 [DE]= 50  80 P  HL= 0x03fc [HL]= 61  97 a
    IX= 0xff90 [IX]= 9a 154 .  IY= 0x0000 [IY]= 1a  26 .  SP= 0xff8e [SP]= fd 253 .
    SP limit= 0xf000
    0x03cd    e6 77             CP HL,(SP)
    F 0x0003cd
    0> 
    
    Stop at 0x0003cf: (109) stepped 8 ticks
    SZIHXVNC  Flags= 0x9b 155 .  A= 0x61  97 a
    10011011
    BC= 0x03fc [BC]= 61  97 a  DE= 0xff96 [DE]= 50  80 P  HL= 0xffff [HL]= 0a  10 .
    IX= 0xff90 [IX]= 9a 154 .  IY= 0x0000 [IY]= 1a  26 .  SP= 0xff8e [SP]= fd 253 .
    SP limit= 0xf000
    0x03cf    eb da 03 c7       JP C,0x03da
    F 0x0003cf
    0>
    
     
  • Daniel Drotos

    Daniel Drotos - 2026-07-09
    • status: open --> closed-fixed
    • assigned_to: Daniel Drotos
     
  • Daniel Drotos

    Daniel Drotos - 2026-07-09
     

    Related

    Commit: [r16697]


Log in to post a comment.