return 0;
end Get_Double_Scalar_Alignment;
- ----------------------
- -- Digits_From_Size --
- ----------------------
-
- function Digits_From_Size (Size : Pos) return Pos is
- begin
- case Size is
- when 32 => return 6;
- when 48 => return 9;
- when 64 => return 15;
- when 96 => return 18;
- when 128 => return 18;
- when others => raise Program_Error;
- end case;
- end Digits_From_Size;
-
-----------------------------
-- Get_Max_Unaligned_Field --
-----------------------------
Alignment => 64);
end Register_Back_End_Types;
- ---------------------
- -- Width_From_Size --
- ---------------------
-
- function Width_From_Size (Size : Pos) return Pos is
- begin
- case Size is
- when 8 => return 4;
- when 16 => return 6;
- when 32 => return 11;
- when 64 => return 21;
- when 128 => return 40;
- when others => raise Program_Error;
- end case;
- end Width_From_Size;
-
------------------------------
-- Get_Back_End_Config_File --
------------------------------
return null;
end Get_Back_End_Config_File;
- ----------------------
- -- Digits_From_Size --
- ----------------------
-
- function Digits_From_Size (Size : Pos) return Pos is
- begin
- case Size is
- when 32 => return 6;
- when 48 => return 9;
- when 64 => return 15;
- when 96 => return 18;
- when 128 => return 18;
- when others => raise Program_Error;
- end case;
- end Digits_From_Size;
-
-----------------------------
-- Get_Max_Unaligned_Field --
-----------------------------
Enumerate_Modes (Call_Back);
end Register_Back_End_Types;
- ---------------------
- -- Width_From_Size --
- ---------------------
-
- function Width_From_Size (Size : Pos) return Pos is
- begin
- case Size is
- when 8 => return 4;
- when 16 => return 6;
- when 32 => return 11;
- when 64 => return 21;
- when 128 => return 40;
- when others => raise Program_Error;
- end case;
- end Width_From_Size;
-
end Get_Targ;
-- Returns the maximum supported size in bits for a field that is
-- not aligned on a storage unit boundary.
- function Width_From_Size (Size : Pos) return Pos;
- function Digits_From_Size (Size : Pos) return Pos;
- -- Calculate values for 'Width or 'Digits from 'Size
-
type C_String is array (0 .. 255) of aliased Character;
pragma Convention (C, C_String);
-- This package contains constants describing target properties
with Types; use Types;
-with Get_Targ;
with Set_Targ;
package Ttypes is
Standard_Short_Short_Integer_Size : constant Pos :=
Set_Targ.Char_Size;
- Standard_Short_Short_Integer_Width : constant Pos :=
- Get_Targ.Width_From_Size
- (Standard_Short_Short_Integer_Size);
Standard_Short_Integer_Size : constant Pos :=
Set_Targ.Short_Size;
- Standard_Short_Integer_Width : constant Pos :=
- Get_Targ.Width_From_Size
- (Standard_Short_Integer_Size);
Standard_Integer_Size : constant Pos :=
Set_Targ.Int_Size;
- Standard_Integer_Width : constant Pos :=
- Get_Targ.Width_From_Size
- (Standard_Integer_Size);
Standard_Long_Integer_Size : constant Pos :=
Set_Targ.Long_Size;
- Standard_Long_Integer_Width : constant Pos :=
- Get_Targ.Width_From_Size
- (Standard_Long_Integer_Size);
Standard_Long_Long_Integer_Size : constant Pos :=
Set_Targ.Long_Long_Size;
- Standard_Long_Long_Integer_Width : constant Pos :=
- Get_Targ.Width_From_Size
- (Standard_Long_Long_Integer_Size);
Standard_Long_Long_Long_Integer_Size : Pos :=
Set_Targ.Long_Long_Long_Size;
- Standard_Long_Long_Long_Integer_Width : Pos :=
- Get_Targ.Width_From_Size
- (Standard_Long_Long_Long_Integer_Size);
Standard_Short_Float_Size : constant Pos :=
Set_Targ.Float_Size;
- Standard_Short_Float_Digits : constant Pos :=
- Get_Targ.Digits_From_Size
- (Standard_Short_Float_Size);
Standard_Float_Size : constant Pos :=
Set_Targ.Float_Size;
- Standard_Float_Digits : constant Pos :=
- Get_Targ.Digits_From_Size
- (Standard_Float_Size);
Standard_Long_Float_Size : constant Pos :=
Set_Targ.Double_Size;
- Standard_Long_Float_Digits : constant Pos :=
- Get_Targ.Digits_From_Size
- (Standard_Long_Float_Size);
Standard_Long_Long_Float_Size : constant Pos :=
Set_Targ.Long_Double_Size;
- Standard_Long_Long_Float_Digits : constant Pos :=
- Get_Targ.Digits_From_Size
- (Standard_Long_Long_Float_Size);
Standard_Character_Size : constant Pos := Set_Targ.Char_Size;