Displaying 6 results from an estimated 6 matches for "loadcodefromfile".
2005 Jul 23
3
[LLVMdev] How to partition registers into different RegisterClass?
...39;s a constant register.
Because the instruction cannot contain an immediate value, a constant
value may be stored in a constant register, and it's defined _before_
the program starts by API. For example:
SetConstantValue( 5, Vector4( 1, 2, 3, 4 ); // C5 = <1,2,3,4>
HANDLE handle = LoadCodeFromFile( filename );
SetCode( handle ); // C5 is referenced here
Execute();
--
Tzu-Chien Chiu,
3D Graphics Hardware Enginner,
<URL:http://www.csie.nctu.edu.tw/~jwchiu>
2005 Jul 23
0
[LLVMdev] How to partition registers into different RegisterClass?
...> Because the instruction cannot contain an immediate value, a constant
> value may be stored in a constant register, and it's defined _before_
> the program starts by API. For example:
>
> SetConstantValue( 5, Vector4( 1, 2, 3, 4 ); // C5 = <1,2,3,4>
> HANDLE handle = LoadCodeFromFile( filename );
> SetCode( handle ); // C5 is referenced here
> Execute();
Ah, ok. In that case, you want to put all of the registers in one register
file, and not make the constant register allocatable (e.g. see
X86RegisterInfo.td, and note how the register classes include EBP and ESP,
b...
2005 Jul 25
2
[LLVMdev] How to partition registers into different RegisterClass?
...ion cannot contain an immediate value, a constant
> > value may be stored in a constant register, and it's defined _before_
> > the program starts by API. For example:
> >
> > SetConstantValue( 5, Vector4( 1, 2, 3, 4 ); // C5 = <1,2,3,4>
> > HANDLE handle = LoadCodeFromFile( filename );
> > SetCode( handle ); // C5 is referenced here
> > Execute();
>
> Ah, ok. In that case, you want to put all of the registers in one register
> file, and not make the constant register allocatable (e.g. see
> X86RegisterInfo.td, and note how the register cla...
2005 Jul 22
0
[LLVMdev] How to partition registers into different RegisterClass?
On Fri, 22 Jul 2005, Tzu-Chien Chiu wrote:
> All registers in my hardware are 4-element vector registers (128-bit).
> Some are floating point registers, and the others are integer
> registers.
>
> I typedef two packed classes: [4 x float] and [4 x int], and add an
> enum 'packed' to MVT::ValueType (ValuesTypes.h).
>
> I declared all 'RegisterClass'es to be
2005 Jul 22
2
[LLVMdev] How to partition registers into different RegisterClass?
All registers in my hardware are 4-element vector registers (128-bit).
Some are floating point registers, and the others are integer
registers.
I typedef two packed classes: [4 x float] and [4 x int], and add an
enum 'packed' to MVT::ValueType (ValuesTypes.h).
I declared all 'RegisterClass'es to be 'packed' (first argument of
RegisterClass):
def GeneralPurposeRC :
2005 Jul 26
0
[LLVMdev] How to partition registers into different RegisterClass?
...ain an immediate value, a constant
>>> value may be stored in a constant register, and it's defined _before_
>>> the program starts by API. For example:
>>>
>>> SetConstantValue( 5, Vector4( 1, 2, 3, 4 ); // C5 = <1,2,3,4>
>>> HANDLE handle = LoadCodeFromFile( filename );
>>> SetCode( handle ); // C5 is referenced here
>>> Execute();
>>
>> Ah, ok. In that case, you want to put all of the registers in one register
>> file, and not make the constant register allocatable (e.g. see
>> X86RegisterInfo.td, and note...