search for: entrysize

Displaying 13 results from an estimated 13 matches for "entrysize".

2009 Dec 07
0
Bunch of bugs in LibTheora, FFMPEG2THEORA, PNG2THEORA
...(*(const struct dirent **) b)->d_name); 152 } 153 154 int 155 scandir (const char *dir, struct dirent ***namelist, 156 int (*select)(const struct dirent *), int (*compar)(const void *, const void *)) 157 { 158 DIR *d; 159 struct dirent *entry; 160 register int i=0; 161 size_t entrysize; 162 163 if ((d=opendir(dir)) == NULL) 164 return(-1); 165 166 *namelist=NULL; 167 while ((entry=readdir(d)) != NULL) 168 { 169 if (select == NULL || (select != NULL && (*select)(entry))) 170 { 171 *namelist=(struct dirent **)realloc((void *)(*namelist), 172...
2008 Mar 30
3
[LLVMdev] Being able to know the jitted code-size before emitting
Hi everyone, vmkit requires to know the size of a jitted method before emitting the method. This allows to allocate the correct size for the method. The attached patch creates this functionality when the flag SizedMemoryCode is on. In order to implement this functionality, i had to virtualize some MachineCodeEmitter functions. Is it OK to commit the patch? Thanks, Nicolas --------------
2008 Apr 01
2
[LLVMdev] Being able to know the jitted code-size before emitting
...JT = MJTI- >> >>> getJumpTables(); >>> >> + if (JT.empty()) return; >> + >> + unsigned NumEntries = 0; >> + for (unsigned i = 0, e = JT.size(); i != e; ++i) >> + NumEntries += JT[i].MBBs.size(); >> + >> + unsigned EntrySize = MJTI->getEntrySize(); >> + >> + // Just allocate space for all the jump tables now. We will fix >> up the actual >> + // MBB entries in the tables after we emit the code for each >> block, since then >> + // we will know the final locations of the MB...
2008 Mar 31
0
[LLVMdev] Being able to know the jitted code-size before emitting
...TI) { > + const std::vector<MachineJumpTableEntry> &JT = MJTI- > >getJumpTables(); > + if (JT.empty()) return; > + > + unsigned NumEntries = 0; > + for (unsigned i = 0, e = JT.size(); i != e; ++i) > + NumEntries += JT[i].MBBs.size(); > + > + unsigned EntrySize = MJTI->getEntrySize(); > + > + // Just allocate space for all the jump tables now. We will fix > up the actual > + // MBB entries in the tables after we emit the code for each > block, since then > + // we will know the final locations of the MBBs in memory. > + Ju...
2008 Apr 01
0
[LLVMdev] Being able to know the jitted code-size before emitting
...;>>> getJumpTables(); >>>> >>> + if (JT.empty()) return; >>> + >>> + unsigned NumEntries = 0; >>> + for (unsigned i = 0, e = JT.size(); i != e; ++i) >>> + NumEntries += JT[i].MBBs.size(); >>> + >>> + unsigned EntrySize = MJTI->getEntrySize(); >>> + >>> + // Just allocate space for all the jump tables now. We will fix >>> up the actual >>> + // MBB entries in the tables after we emit the code for each >>> block, since then >>> + // we will know the final...
2008 Apr 04
3
[LLVMdev] Being able to know the jitted code-size before emitting
...>> >>>> + if (JT.empty()) return; >>>> + >>>> + unsigned NumEntries = 0; >>>> + for (unsigned i = 0, e = JT.size(); i != e; ++i) >>>> + NumEntries += JT[i].MBBs.size(); >>>> + >>>> + unsigned EntrySize = MJTI->getEntrySize(); >>>> + >>>> + // Just allocate space for all the jump tables now. We will fix >>>> up the actual >>>> + // MBB entries in the tables after we emit the code for each >>>> block, since then >>>> + /...
2008 Apr 05
2
[LLVMdev] Being able to know the jitted code-size before emitting
...mpty()) return; >>>>>> + >>>>>> + unsigned NumEntries = 0; >>>>>> + for (unsigned i = 0, e = JT.size(); i != e; ++i) >>>>>> + NumEntries += JT[i].MBBs.size(); >>>>>> + >>>>>> + unsigned EntrySize = MJTI->getEntrySize(); >>>>>> + >>>>>> + // Just allocate space for all the jump tables now. We will >>>>>> fix >>>>>> up the actual >>>>>> + // MBB entries in the tables after we emit the code for ea...
2008 Apr 05
0
[LLVMdev] Being able to know the jitted code-size before emitting
...>>>>> + >>>>>>> + unsigned NumEntries = 0; >>>>>>> + for (unsigned i = 0, e = JT.size(); i != e; ++i) >>>>>>> + NumEntries += JT[i].MBBs.size(); >>>>>>> + >>>>>>> + unsigned EntrySize = MJTI->getEntrySize(); >>>>>>> + >>>>>>> + // Just allocate space for all the jump tables now. We will >>>>>>> fix >>>>>>> up the actual >>>>>>> + // MBB entries in the tables after we em...
2008 Apr 04
0
[LLVMdev] Being able to know the jitted code-size before emitting
...>>> + if (JT.empty()) return; >>>>> + >>>>> + unsigned NumEntries = 0; >>>>> + for (unsigned i = 0, e = JT.size(); i != e; ++i) >>>>> + NumEntries += JT[i].MBBs.size(); >>>>> + >>>>> + unsigned EntrySize = MJTI->getEntrySize(); >>>>> + >>>>> + // Just allocate space for all the jump tables now. We will >>>>> fix >>>>> up the actual >>>>> + // MBB entries in the tables after we emit the code for each >>>>&...
2008 Apr 07
2
[LLVMdev] Being able to know the jitted code-size before emitting
...+ >>>>>>>> + unsigned NumEntries = 0; >>>>>>>> + for (unsigned i = 0, e = JT.size(); i != e; ++i) >>>>>>>> + NumEntries += JT[i].MBBs.size(); >>>>>>>> + >>>>>>>> + unsigned EntrySize = MJTI->getEntrySize(); >>>>>>>> + >>>>>>>> + // Just allocate space for all the jump tables now. We will >>>>>>>> fix >>>>>>>> up the actual >>>>>>>> + // MBB entries in th...
2008 Apr 07
0
[LLVMdev] Being able to know the jitted code-size before emitting
...gt;>>>> + unsigned NumEntries = 0; >>>>>>>>> + for (unsigned i = 0, e = JT.size(); i != e; ++i) >>>>>>>>> + NumEntries += JT[i].MBBs.size(); >>>>>>>>> + >>>>>>>>> + unsigned EntrySize = MJTI->getEntrySize(); >>>>>>>>> + >>>>>>>>> + // Just allocate space for all the jump tables now. We >>>>>>>>> will >>>>>>>>> fix >>>>>>>>> up the actual &...
2018 Feb 07
1
Addressing the problem of noisy GPUs under Nouveau
...D 31:8 // Fan Cooler Table entry typedef struct { NvU32 field1; NvU32 field2; NvU32 field3; NvU32 field4; NvU32 field5; } FAN_COOLER_TABLEENTRY; // Fan Cooler Table typedef struct { NvU32 version; NvU32 entrySize; NvU32 entryCount; FAN_COOLER_TABLEENTRY entries[NV_FAN_COOLER_TABLE_V2_MAX_ENTRIES]; } FAN_COOLER_TABLE, *PFAN_COOLER_TABLE; // Default minimum fan level - *cannot* be overriden by VBIOS: #define FAN_SPEEDCONTROL_MINIMUM_LEVEL_DEFAULT 30 // Default maximum fa...
2018 Jan 28
3
Addressing the problem of noisy GPUs under Nouveau
On 28/11/17 07:32, John Hubbard wrote: > On 11/23/2017 02:48 PM, Martin Peres wrote: >> On 23/11/17 10:06, John Hubbard wrote: >>> On 11/22/2017 05:07 PM, Martin Peres wrote: >>>> Hey, >>>> >>>> Thanks for your answer, Andy! >>>> >>>> On 22/11/17 04:06, Ilia Mirkin wrote: >>>>> On Tue, Nov 21, 2017 at 8:29