mirror of
https://review.haiku-os.org/buildtools
synced 2025-02-16 10:47:48 +01:00
* these are dependencies for gcc 4 Graphite engine build. * CLooG 0.18.0 includes ISL 0.11.1 which is the backend that the build script enables. * PPL is needed by GCC build even if it isn't the chosen backend.
45 lines
1.2 KiB
Plaintext
45 lines
1.2 KiB
Plaintext
Hello,
|
|
|
|
Un bug etait reste dans la fonction, voici le code correct a remplacer ... a priori c'est juste sur les parametres de Vector_Combine.
|
|
Teste et fonctionne.
|
|
|
|
Tu es la demain ?
|
|
|
|
|
|
if(singlePoint == 1){
|
|
for(i=0; i<m->NbRows; i++){
|
|
int j = 0;
|
|
if(i != lineNum){
|
|
for(j=1; j<m->NbColumns; j++){
|
|
if(m->p[i][level] != 0){
|
|
int sign = (m->p[i][level] * m->p[lineNum][level] > 0) ? -1 : 1;
|
|
Vector *tmpResVec = Vector_Alloc(m->NbColumns - 1);
|
|
Vector_Combine(&(m->p[i][1]), &(m->p[lineNum][1]), tmpResVec->p, sign*m->p[lineNum][level],
|
|
-sign*m->p[i][level], m->NbColumns - 1);
|
|
Value gcd;
|
|
Vector_Gcd(tmpResVec->p, m->NbColumns - 1, &gcd);
|
|
Vector_AntiScale(tmpResVec->p, &(m->p[i][1]), gcd, m->NbColumns - 1);
|
|
Vector_Free(tmpResVec);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
Cédric Bastoul wrote:
|
|
|
|
> Merci beaucoup, je le place localement dans le pprint sans doute la semaine prochaine comme ça je ferais une option sans backtrack et -f safe, enfin j'espère ! 2 bugs en une semaine :-/ (l'autre c'était pour le -cpp je crois que tu t'en fous) !
|
|
> A+
|
|
>
|
|
> Ced.
|
|
>
|
|
> Nicolas Vasilache a écrit :
|
|
>
|
|
>>
|
|
>> void cloog_loop_normalize(CloogLoop *loop, int level){
|
|
>>
|
|
>> }
|
|
>>
|
|
>>
|
|
>
|
|
>
|
|
|