Mercurial > pub > dyncall > dyncall
comparison dyncall/dyncall_callvm_arm32_arm_armhf.c @ 146:0ab08c1541f0
- fixed armhf ellipsis calls, were ignoring spill area
- minor cleanups for consistency
- todo update
author | cslag |
---|---|
date | Thu, 08 Sep 2016 23:00:45 +0200 |
parents | 67961454902b |
children | f5577f6bf97a |
comparison
equal
deleted
inserted
replaced
145:63892f03e493 | 146:0ab08c1541f0 |
---|---|
98 DCchar b[8]; | 98 DCchar b[8]; |
99 } v; | 99 } v; |
100 | 100 |
101 DCCallVM_arm32_armhf* p = (DCCallVM_arm32_armhf*)in_p; | 101 DCCallVM_arm32_armhf* p = (DCCallVM_arm32_armhf*)in_p; |
102 if (p->d < 16) { | 102 if (p->d < 16) { |
103 * (double*) &p->S[p->d] = x; | 103 * (DCdouble*) &p->S[p->d] = x; |
104 p->d += 2; | 104 p->d += 2; |
105 if (!(p->s & 1)) { | 105 if (!(p->s & 1)) { |
106 /* if s is even it always equals d. otherwise, s points to an odd float register. */ | 106 /* if s is even it always equals d. otherwise, s points to an odd float register. */ |
107 p->s = p->d; | 107 p->s = p->d; |
108 } | 108 } |