úkol, výběr instrukcí, rmgs2r

johnny
Donátor
Donátor
Příspěvky: 95
Registrován: 13. 12. 2005 00:31
Typ studia: Informatika Mgr.
Bydliště: Trója

úkol, výběr instrukcí, rmgs2r

Příspěvek od johnny »

Chtěl bych dělat variantu 2a, tj. alokace registrů + spill kód. Pokud jsem to správně pochopil, tak slibovaná utilita, která za mě udělá výběr instrukcí je v public-bin rmgs2r.exe. Když ho ale spustím na přiložené příklady, spadne na všech du6-test*.mo, kromě osmého.

Kde dělám chybu?

Kód: Vybrat vše

> rmgs2r.exe du6-test10.mo du6-test10.regmo -Sdu6-test10.regmoa
...
Assertion failed: primary_register_code.icb.empty(), file .\rmginstrsel.cpp, lin
e 1380

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.

Kód: Vybrat vše

> rmgs2r.exe du6-test1.mo du6-test1.regmo -Sdu6-test1.regmoa
...
Assertion failed: ss == initial_ss, file .\rmginstrsel.cpp, line 1426

Kód: Vybrat vše

rmgs2r.exe du6-test2.mo du6-test2.regmo -Sdu6-test2.regmoa
---------------------------
Microsoft Visual C++ Debug Library
---------------------------
Debug Assertion Failed!

Program: ...
File: C:\app\MSVS8\VC\include\list
Line: 213

Expression: list iterator not dereferencable

For information on how your program can cause an assertion
failure, see the Visual C++ documentation on asserts.

(Press Retry to debug the application)
---------------------------
Abort   Retry   Ignore   
---------------------------

Kód: Vybrat vše

> rmgs2r.exe du6-test20.mo du6-test20.regmo -Sdu6-test20.regmoa
...
Assertion failed: primary_register_code.icb.empty(), file .\rmginstrsel.cpp, lin
e 1380

Kód: Vybrat vše

> rmgs2r.exe du6-test21.mo du6-test21.regmo -Sdu6-test21.regmoa
...
Assertion failed: primary_register_code.icb.empty(), file .\rmginstrsel.cpp, lin
e 1380
johnny
Donátor
Donátor
Příspěvky: 95
Registrován: 13. 12. 2005 00:31
Typ studia: Informatika Mgr.
Bydliště: Trója

Re: úkol, výběr instrukcí, rmgs2r

Příspěvek od johnny »

Tak už je na webu oprava :)
Odpovědět

Zpět na „SWI109 Konstrukce překladačů“