Merge "[MIPS] Fix mips32r1 build"
This commit is contained in:
commit
b6b81d6acd
@ -163,6 +163,7 @@ namespace android {
|
|||||||
asm volatile( \
|
asm volatile( \
|
||||||
".set push\n\t" \
|
".set push\n\t" \
|
||||||
".set noreorder\n\t" \
|
".set noreorder\n\t" \
|
||||||
|
".set mips32r2\n\t" \
|
||||||
"rdhwr %[tls], $29\n\t" \
|
"rdhwr %[tls], $29\n\t" \
|
||||||
"lw %[t0], %[OPENGL_API](%[tls])\n\t" \
|
"lw %[t0], %[OPENGL_API](%[tls])\n\t" \
|
||||||
"beqz %[t0], 1f\n\t" \
|
"beqz %[t0], 1f\n\t" \
|
||||||
|
@ -163,6 +163,7 @@ using namespace android;
|
|||||||
asm volatile( \
|
asm volatile( \
|
||||||
".set push\n\t" \
|
".set push\n\t" \
|
||||||
".set noreorder\n\t" \
|
".set noreorder\n\t" \
|
||||||
|
".set mips32r2\n\t" \
|
||||||
"rdhwr %[tls], $29\n\t" \
|
"rdhwr %[tls], $29\n\t" \
|
||||||
"lw %[t0], %[OPENGL_API](%[tls])\n\t" \
|
"lw %[t0], %[OPENGL_API](%[tls])\n\t" \
|
||||||
"beqz %[t0], 1f\n\t" \
|
"beqz %[t0], 1f\n\t" \
|
||||||
|
@ -219,6 +219,7 @@ GL_API void GL_APIENTRY glWeightPointerOESBounds(GLint size, GLenum type,
|
|||||||
asm volatile( \
|
asm volatile( \
|
||||||
".set push\n\t" \
|
".set push\n\t" \
|
||||||
".set noreorder\n\t" \
|
".set noreorder\n\t" \
|
||||||
|
".set mips32r2\n\t" \
|
||||||
"rdhwr %[tls], $29\n\t" \
|
"rdhwr %[tls], $29\n\t" \
|
||||||
"lw %[t0], %[OPENGL_API](%[tls])\n\t" \
|
"lw %[t0], %[OPENGL_API](%[tls])\n\t" \
|
||||||
"beqz %[t0], 1f\n\t" \
|
"beqz %[t0], 1f\n\t" \
|
||||||
|
Loading…
Reference in New Issue
Block a user