-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix propagation optimization bug (#1023)
* - WIP * - WIP * - WIP * - WIP * - WIP * - WIP * - WIP * - WIP * - WIP * - WIP * - WIP * - WIP * - WIP * - WIP * - WIP * - Fixed x86 virtual register propagation bug * - Fixed x86 virtual register propagation bug * - Fixed x86 optimization bug with 64bit subtraction
- Loading branch information
Showing
84 changed files
with
3,080 additions
and
537 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
cd %~dp0 | ||
cd ..\bin | ||
Mosa.Tool.Launcher.exe -autostart -o1 -inline-explicit -inline-level 15 -output-asm -output-debug -threading-off -output-hash Mosa.Demo.TestWorld.x86.dll |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
Source/Mosa.Compiler.Framework/IR/CheckThrowDivideByZero.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
// Copyright (c) MOSA Project. Licensed under the New BSD License. | ||
|
||
// This code was generated by an automated template. | ||
|
||
namespace Mosa.Compiler.Framework.IR; | ||
|
||
/// <summary> | ||
/// CheckThrowDivideByZero | ||
/// </summary> | ||
/// <seealso cref="Mosa.Compiler.Framework.IR.BaseIRInstruction" /> | ||
public sealed class CheckThrowDivideByZero : BaseIRInstruction | ||
{ | ||
public CheckThrowDivideByZero() | ||
: base(1, 0) | ||
{ | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
Source/Mosa.Compiler.Framework/IR/CheckThrowIndexOutOfRange.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
// Copyright (c) MOSA Project. Licensed under the New BSD License. | ||
|
||
// This code was generated by an automated template. | ||
|
||
namespace Mosa.Compiler.Framework.IR; | ||
|
||
/// <summary> | ||
/// CheckThrowIndexOutOfRange | ||
/// </summary> | ||
/// <seealso cref="Mosa.Compiler.Framework.IR.BaseIRInstruction" /> | ||
public sealed class CheckThrowIndexOutOfRange : BaseIRInstruction | ||
{ | ||
public CheckThrowIndexOutOfRange() | ||
: base(1, 0) | ||
{ | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
// Copyright (c) MOSA Project. Licensed under the New BSD License. | ||
|
||
// This code was generated by an automated template. | ||
|
||
namespace Mosa.Compiler.Framework.IR; | ||
|
||
/// <summary> | ||
/// CheckThrowOverflow | ||
/// </summary> | ||
/// <seealso cref="Mosa.Compiler.Framework.IR.BaseIRInstruction" /> | ||
public sealed class CheckThrowOverflow : BaseIRInstruction | ||
{ | ||
public CheckThrowOverflow() | ||
: base(1, 0) | ||
{ | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
// Copyright (c) MOSA Project. Licensed under the New BSD License. | ||
|
||
// This code was generated by an automated template. | ||
|
||
namespace Mosa.Compiler.Framework.IR; | ||
|
||
/// <summary> | ||
/// ThrowDivideByZero | ||
/// </summary> | ||
/// <seealso cref="Mosa.Compiler.Framework.IR.BaseIRInstruction" /> | ||
public sealed class ThrowDivideByZero : BaseIRInstruction | ||
{ | ||
public ThrowDivideByZero() | ||
: base(0, 0) | ||
{ | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
// Copyright (c) MOSA Project. Licensed under the New BSD License. | ||
|
||
// This code was generated by an automated template. | ||
|
||
namespace Mosa.Compiler.Framework.IR; | ||
|
||
/// <summary> | ||
/// ThrowIndexOutOfRange | ||
/// </summary> | ||
/// <seealso cref="Mosa.Compiler.Framework.IR.BaseIRInstruction" /> | ||
public sealed class ThrowIndexOutOfRange : BaseIRInstruction | ||
{ | ||
public ThrowIndexOutOfRange() | ||
: base(0, 0) | ||
{ | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
// Copyright (c) MOSA Project. Licensed under the New BSD License. | ||
|
||
// This code was generated by an automated template. | ||
|
||
namespace Mosa.Compiler.Framework.IR; | ||
|
||
/// <summary> | ||
/// ThrowOverflow | ||
/// </summary> | ||
/// <seealso cref="Mosa.Compiler.Framework.IR.BaseIRInstruction" /> | ||
public sealed class ThrowOverflow : BaseIRInstruction | ||
{ | ||
public ThrowOverflow() | ||
: base(0, 0) | ||
{ | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.