Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
e13dc26e
Kaydet (Commit)
e13dc26e
authored
Şub 20, 2012
tarafından
Jani Monoses
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
ARM bridge: fixes for passing double arguments on the stack
üst
1248e2af
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
cpp2uno.cxx
bridges/source/cpp_uno/gcc3_linux_arm/cpp2uno.cxx
+6
-0
uno2cpp.cxx
bridges/source/cpp_uno/gcc3_linux_arm/uno2cpp.cxx
+2
-1
No files found.
bridges/source/cpp_uno/gcc3_linux_arm/cpp2uno.cxx
Dosyayı görüntüle @
e13dc26e
...
@@ -70,6 +70,7 @@ namespace
...
@@ -70,6 +70,7 @@ namespace
char
*
pCppStack
=
pTopStack
;
char
*
pCppStack
=
pTopStack
;
#ifdef __ARM_PCS_VFP
#ifdef __ARM_PCS_VFP
int
dc
=
0
;
char
*
pFloatArgs
=
(
char
*
)(
pCppStack
-
64
);
char
*
pFloatArgs
=
(
char
*
)(
pCppStack
-
64
);
#endif
#endif
// return
// return
...
@@ -152,6 +153,11 @@ namespace
...
@@ -152,6 +153,11 @@ namespace
if
((
pFloatArgs
-
pTopStack
)
%
8
)
pFloatArgs
+=
sizeof
(
float
);
//align to 8
if
((
pFloatArgs
-
pTopStack
)
%
8
)
pFloatArgs
+=
sizeof
(
float
);
//align to 8
pCppArgs
[
nPos
]
=
pUnoArgs
[
nPos
]
=
pFloatArgs
;
pCppArgs
[
nPos
]
=
pUnoArgs
[
nPos
]
=
pFloatArgs
;
pFloatArgs
+=
sizeof
(
double
);
pFloatArgs
+=
sizeof
(
double
);
if
(
++
dc
==
arm
::
MAX_FPR_REGS
)
{
if
(
pCppStack
-
pTopStack
<
16
)
pCppStack
=
pTopStack
+
16
;
pFloatArgs
=
pCppStack
;
}
}
else
}
else
#endif
#endif
pCppArgs
[
nPos
]
=
pUnoArgs
[
nPos
]
=
pCppStack
;
pCppArgs
[
nPos
]
=
pUnoArgs
[
nPos
]
=
pCppStack
;
...
...
bridges/source/cpp_uno/gcc3_linux_arm/uno2cpp.cxx
Dosyayı görüntüle @
e13dc26e
...
@@ -362,7 +362,8 @@ void callVirtualMethod(
...
@@ -362,7 +362,8 @@ void callVirtualMethod(
{ \
{ \
++pDS; \
++pDS; \
} \
} \
*pDS++ = *reinterpret_cast<double *>( pSV );\
*(double *)pDS = *reinterpret_cast<double *>( pSV );\
pDS += 2;\
}
}
#else
#else
#define INSERT_FLOAT( pSV, nr, pFPR, pDS ) \
#define INSERT_FLOAT( pSV, nr, pFPR, pDS ) \
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment