-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(#132) Compiler: add a command line arg and an architecture set enum
- Loading branch information
Showing
6 changed files
with
44 additions
and
4 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
namespace Cesium.CodeGen; | ||
|
||
/// <summary>Describes the set of system architectures targeted by the assembly.</summary> | ||
public enum TargetArchitectureSet | ||
{ | ||
/// <summary> | ||
/// <para>Dynamic architecture.</para> | ||
/// <para> | ||
/// May not support every feature of the C programming language, but compiles to AnyCPU assembly. Performs some | ||
/// calculations, such as pointer array size calculations, in runtime. | ||
/// </para> | ||
/// </summary> | ||
Dynamic, | ||
|
||
/// <summary>An architecture with 32-bit pointers. Targets ARM32 and x86 CPUs.</summary> | ||
Bit32, | ||
|
||
/// <summary>An architecture with 64-bit pointers. Targets ARM64 and x86-64 CPUs.</summary> | ||
Bit64 | ||
} |
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