#2037 Extended stack code genration bugs

closed-fixed
z80 port (188)
6
2012-06-09
2012-06-03
No

There are some bugs in code generation for extended stack operands int eh z80-related ports. While testcases tend to be hard to create, as they typically require functions with hundreds of local variables, running the normal regression tests compiling using --fomit-frame-pointer combined with a really low value for --max-allocs-per-node will detect them too, by forcing most variables onto the stack and stack access to be done without frame pointers, which often results in the same mechanism as the one for the extended stack to be used. I already fixed some such bugs, but there's more. Here's the current (revison #7854) results of the regression tests using --fomit-frame-pointer --max-allocs-per-node 100:

Summary for 'ucz80': 114 failures, 6908 tests, 1540 test cases, 4285735 bytes, 13713292 ticks
Failure: gen/ucz80/bug1714204/bug1714204
Failure: gen/ucz80/bug1723128/bug1723128
Failure: gen/ucz80/bug3521024/bug3521024
Failure: gen/ucz80/gcc-torture-execute-20010910-1/gcc-torture-execute-20010910-1
Failure: gen/ucz80/gcc-torture-execute-20080424-1/gcc-torture-execute-20080424-1
Failure: gen/ucz80/gcc-torture-execute-950929-1/gcc-torture-execute-950929-1
Failure: gen/ucz80/libmullong/libmullong_type_asm
Failure: gen/ucz80/libmullong/libmullong_type_c

Philipp

Discussion

  • Philipp Klaus Krause

    It turned out this were many individual bugs, mostlys in code generation. As of revision #7873 it seems all affecting the z80 port are fixed, but some that affect the Rabbits only are left.

    Philipp

     
  • Philipp Klaus Krause

    As of revision #7879 all of these bugs hould be fixed.

    Philipp

     
  • Philipp Klaus Krause

    • assigned_to: nobody --> spth
    • status: open --> closed-fixed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks