am a46ff664
: Merge "Use register numbers instead of register names"
* commit 'a46ff664571465b7a2741bed4225d30b5bf07503': Use register numbers instead of register names
This commit is contained in:
commit
c7a7b118b5
@ -125,9 +125,9 @@ namespace android {
|
||||
#define API_ENTRY(_api) __attribute__((noinline)) _api
|
||||
|
||||
#define CALL_GL_EXTENSION_API(_api, ...) \
|
||||
register unsigned int _t0 asm("t0"); \
|
||||
register unsigned int _fn asm("t1"); \
|
||||
register unsigned int _tls asm("v1"); \
|
||||
register unsigned int _t0 asm("$12"); \
|
||||
register unsigned int _fn asm("$25"); \
|
||||
register unsigned int _tls asm("$3"); \
|
||||
asm volatile( \
|
||||
".set push\n\t" \
|
||||
".set noreorder\n\t" \
|
||||
@ -157,9 +157,9 @@ namespace android {
|
||||
#define API_ENTRY(_api) __attribute__((noinline)) _api
|
||||
|
||||
#define CALL_GL_EXTENSION_API(_api, ...) \
|
||||
register unsigned int _t0 asm("t0"); \
|
||||
register unsigned int _fn asm("t1"); \
|
||||
register unsigned int _tls asm("v1"); \
|
||||
register unsigned int _t0 asm("$8"); \
|
||||
register unsigned int _fn asm("$25"); \
|
||||
register unsigned int _tls asm("$3"); \
|
||||
asm volatile( \
|
||||
".set push\n\t" \
|
||||
".set noreorder\n\t" \
|
||||
|
@ -123,10 +123,10 @@ using namespace android;
|
||||
#define API_ENTRY(_api) __attribute__((noinline)) _api
|
||||
|
||||
#define CALL_GL_API(_api, ...) \
|
||||
register unsigned long _t0 asm("t0"); \
|
||||
register unsigned long _fn asm("t9"); \
|
||||
register unsigned long _tls asm("v1"); \
|
||||
register unsigned long _v0 asm("v0"); \
|
||||
register unsigned long _t0 asm("$12"); \
|
||||
register unsigned long _fn asm("$25"); \
|
||||
register unsigned long _tls asm("$3"); \
|
||||
register unsigned long _v0 asm("$2"); \
|
||||
asm volatile( \
|
||||
".set push\n\t" \
|
||||
".set noreorder\n\t" \
|
||||
@ -156,10 +156,10 @@ using namespace android;
|
||||
#define API_ENTRY(_api) __attribute__((noinline)) _api
|
||||
|
||||
#define CALL_GL_API(_api, ...) \
|
||||
register unsigned int _t0 asm("t0"); \
|
||||
register unsigned int _fn asm("t9"); \
|
||||
register unsigned int _tls asm("v1"); \
|
||||
register unsigned int _v0 asm("v0"); \
|
||||
register unsigned int _t0 asm("$8"); \
|
||||
register unsigned int _fn asm("$25"); \
|
||||
register unsigned int _tls asm("$3"); \
|
||||
register unsigned int _v0 asm("$2"); \
|
||||
asm volatile( \
|
||||
".set push\n\t" \
|
||||
".set noreorder\n\t" \
|
||||
|
@ -179,10 +179,10 @@ GL_API void GL_APIENTRY glWeightPointerOESBounds(GLint size, GLenum type,
|
||||
#define API_ENTRY(_api) __attribute__((noinline)) _api
|
||||
|
||||
#define CALL_GL_API(_api, ...) \
|
||||
register unsigned long _t0 asm("t0"); \
|
||||
register unsigned long _fn asm("t9"); \
|
||||
register unsigned long _tls asm("v1"); \
|
||||
register unsigned long _v0 asm("v0"); \
|
||||
register unsigned long _t0 asm("$12"); \
|
||||
register unsigned long _fn asm("$25"); \
|
||||
register unsigned long _tls asm("$3"); \
|
||||
register unsigned long _v0 asm("$2"); \
|
||||
asm volatile( \
|
||||
".set push\n\t" \
|
||||
".set noreorder\n\t" \
|
||||
@ -212,10 +212,10 @@ GL_API void GL_APIENTRY glWeightPointerOESBounds(GLint size, GLenum type,
|
||||
#define API_ENTRY(_api) __attribute__((noinline)) _api
|
||||
|
||||
#define CALL_GL_API(_api, ...) \
|
||||
register unsigned int _t0 asm("t0"); \
|
||||
register unsigned int _fn asm("t9"); \
|
||||
register unsigned int _tls asm("v1"); \
|
||||
register unsigned int _v0 asm("v0"); \
|
||||
register unsigned int _t0 asm("$8"); \
|
||||
register unsigned int _fn asm("$25"); \
|
||||
register unsigned int _tls asm("$3"); \
|
||||
register unsigned int _v0 asm("$2"); \
|
||||
asm volatile( \
|
||||
".set push\n\t" \
|
||||
".set noreorder\n\t" \
|
||||
|
Loading…
Reference in New Issue
Block a user