Displaying 5 results from an estimated 5 matches for "jazzfixnumclass".
2017 Jun 05
2
[newbie] trouble with global variables and CreateLoad/Store in JIT
...;imp-use>, %ESP<imp-def>,
%EAX<imp-def,dead>, %EDX<imp-def,dead>
%ESP<def,tied1> = ADD32ri8 %ESP<tied0>, 4, %EFLAGS<imp-def,dead>
CFI_INSTRUCTION <call frame instruction>
MOV32mi %noreg, 1, %noreg, <ga:@foo>, %noreg, <ga:@JazzFixnumClass>;
mem:ST4[getelementptr inbounds ({ i8*, i32 }, { i8*, i32 }* @foo, i32 0,
i32 0)]
PUSHi32 <ga:@foo+4>, %ESP<imp-def>, %ESP<imp-use>
CFI_INSTRUCTION <call frame instruction>
CALLpcrel32 <ga:@debugInt>, <regmask %BH %BL %BP %BPL %BX %DI %DI...
2017 Jun 06
2
[newbie] trouble with global variables and CreateLoad/Store in JIT
...EAX<imp-def,dead>, %EDX<imp-def,dead>
>> %ESP<def,tied1> = ADD32ri8 %ESP<tied0>, 4, %EFLAGS<imp-def,dead>
>> CFI_INSTRUCTION <call frame instruction>
>> MOV32mi %noreg, 1, %noreg, <ga:@foo>, %noreg,
>> <ga:@JazzFixnumClass>; mem:ST4[getelementptr inbounds ({ i8*, i32 }, {
>> i8*, i32 }* @foo, i32 0, i32 0)]
>> PUSHi32 <ga:@foo+4>, %ESP<imp-def>, %ESP<imp-use>
>> CFI_INSTRUCTION <call frame instruction>
>> CALLpcrel32 <ga:@debugInt>, <...
2017 Jun 04
2
[newbie] trouble with global variables and CreateLoad/Store in JIT
Emitting calls to these functions (written in an .ll file linked in) works
fine, and does the right thing.
%Any = type { i8*, i32 }
define dllexport void @setGlobal(%Any* %ptr, %Any %value) {
store %Any %value, %Any* %ptr
ret void
}
define dllexport %Any @getGlobal(%Any* %ptr) {
%val = load %Any, %Any* %ptr
ret %Any %val
}
Trying to replace the setGlobal call with what should be
2017 Jun 06
2
[newbie] trouble with global variables and CreateLoad/Store in JIT
...0 calll 0 <_setfoo+0x26>
> 00000026: IMAGE_REL_I386_REL32 _debugInt
> 2a: c7 05 00 00 00 00 00 00 00 00 movl $0, 0
> 0000002c: IMAGE_REL_I386_DIR32 _foo
> 00000030: IMAGE_REL_I386_DIR32 _JazzFixnumClass
> 34: b9 00 00 00 00 movl $0, %ecx
> 00000035: IMAGE_REL_I386_DIR32 _JazzFixnumClass
> 39: 89 e6 movl %esp, %esi
> 3b: c7 06 04 00 00 00 movl $4, (%esi)
> 0000003d: IMAGE_REL_I386_...
2017 Jun 07
2
[newbie] trouble with global variables and CreateLoad/Store in JIT
...;
>>> 00000026: IMAGE_REL_I386_REL32 _debugInt
>>> 2a: c7 05 00 00 00 00 00 00 00 00 movl $0, 0
>>> 0000002c: IMAGE_REL_I386_DIR32 _foo
>>> 00000030: IMAGE_REL_I386_DIR32 _JazzFixnumClass
>>> 34: b9 00 00 00 00 movl $0, %ecx
>>> 00000035: IMAGE_REL_I386_DIR32 _JazzFixnumClass
>>> 39: 89 e6 movl %esp, %esi
>>> 3b: c7 06 04 00 00 00 movl $4, (%esi)
>>>...