diff options
author | Stephen Hines <srhines@google.com> | 2013-12-20 16:59:26 -0800 |
---|---|---|
committer | Stephen Hines <srhines@google.com> | 2013-12-21 02:13:07 -0800 |
commit | f0ef02a14658e0199c9ef7407da38a980e4fbb12 (patch) | |
tree | 3c1baf47a56b973811add9dc1219895cd636a74e /renderscript | |
parent | cfcef469537869947abb9aa1d656774cc2678d4c (diff) | |
download | prebuilts_sdk-f0ef02a14658e0199c9ef7407da38a980e4fbb12.zip prebuilts_sdk-f0ef02a14658e0199c9ef7407da38a980e4fbb12.tar.gz prebuilts_sdk-f0ef02a14658e0199c9ef7407da38a980e4fbb12.tar.bz2 |
Update RS support library prebuilts.
SHA:
frameworks/rs: be96565d929af53b8009014fbec224004c64e4fa
frameworks/compile/libbcc: 4fcf730eccbb3c891d408827f004d1d6ec41f5b0
frameworks/compile/slang: 9178d5e3c79eb726eb53adfaefffab11623e3e9b
Change-Id: I24920cc1e9d3e23433b05bca41d760553d8330b1
Diffstat (limited to 'renderscript')
20 files changed, 3 insertions, 70 deletions
diff --git a/renderscript/include/rs_atomic.rsh b/renderscript/include/rs_atomic.rsh index a455edd..99a7353 100644 --- a/renderscript/include/rs_atomic.rsh +++ b/renderscript/include/rs_atomic.rsh @@ -35,16 +35,6 @@ */ extern int32_t __attribute__((overloadable)) rsAtomicInc(volatile int32_t* addr); -/** - * Atomic add one to the value at addr. - * Equal to rsAtomicAdd(addr, 1) - * - * @param addr Address of value to increment - * - * @return old value - */ -extern uint32_t __attribute__((overloadable)) - rsAtomicInc(volatile uint32_t* addr); /** * Atomic subtract one from the value at addr. Equal to rsAtomicSub(addr, 1) @@ -55,15 +45,6 @@ extern uint32_t __attribute__((overloadable)) */ extern int32_t __attribute__((overloadable)) rsAtomicDec(volatile int32_t* addr); -/** - * Atomic subtract one from the value at addr. Equal to rsAtomicSub(addr, 1) - * - * @param addr Address of value to decrement - * - * @return old value - */ -extern uint32_t __attribute__((overloadable)) - rsAtomicDec(volatile uint32_t* addr); /** * Atomic add a value to the value at addr. addr[0] += value @@ -75,16 +56,6 @@ extern uint32_t __attribute__((overloadable)) */ extern int32_t __attribute__((overloadable)) rsAtomicAdd(volatile int32_t* addr, int32_t value); -/** - * Atomic add a value to the value at addr. addr[0] += value - * - * @param addr Address of value to modify - * @param value Amount to add to the value at addr - * - * @return old value - */ -extern uint32_t __attribute__((overloadable)) - rsAtomicAdd(volatile uint32_t* addr, uint32_t value); /** * Atomic Subtract a value from the value at addr. addr[0] -= value @@ -96,16 +67,6 @@ extern uint32_t __attribute__((overloadable)) */ extern int32_t __attribute__((overloadable)) rsAtomicSub(volatile int32_t* addr, int32_t value); -/** - * Atomic Subtract a value from the value at addr. addr[0] -= value - * - * @param addr Address of value to modify - * @param value Amount to subtract from the value at addr - * - * @return old value - */ -extern uint32_t __attribute__((overloadable)) - rsAtomicSub(volatile uint32_t* addr, uint32_t value); /** * Atomic Bitwise and a value from the value at addr. addr[0] &= value @@ -117,16 +78,6 @@ extern uint32_t __attribute__((overloadable)) */ extern int32_t __attribute__((overloadable)) rsAtomicAnd(volatile int32_t* addr, int32_t value); -/** - * Atomic Bitwise and a value from the value at addr. addr[0] &= value - * - * @param addr Address of value to modify - * @param value Amount to and with the value at addr - * - * @return old value - */ -extern uint32_t __attribute__((overloadable)) - rsAtomicAnd(volatile uint32_t* addr, uint32_t value); /** * Atomic Bitwise or a value from the value at addr. addr[0] |= value @@ -138,16 +89,6 @@ extern uint32_t __attribute__((overloadable)) */ extern int32_t __attribute__((overloadable)) rsAtomicOr(volatile int32_t* addr, int32_t value); -/** - * Atomic Bitwise or a value from the value at addr. addr[0] |= value - * - * @param addr Address of value to modify - * @param value Amount to or with the value at addr - * - * @return old value - */ -extern uint32_t __attribute__((overloadable)) - rsAtomicOr(volatile uint32_t* addr, uint32_t value); /** * Atomic Bitwise xor a value from the value at addr. addr[0] ^= value @@ -157,16 +98,6 @@ extern uint32_t __attribute__((overloadable)) * * @return old value */ -extern uint32_t __attribute__((overloadable)) - rsAtomicXor(volatile uint32_t* addr, uint32_t value); -/** - * Atomic Bitwise xor a value from the value at addr. addr[0] ^= value - * - * @param addr Address of value to modify - * @param value Amount to xor with the value at addr - * - * @return old value - */ extern int32_t __attribute__((overloadable)) rsAtomicXor(volatile int32_t* addr, int32_t value); diff --git a/renderscript/include/rs_cl.rsh b/renderscript/include/rs_cl.rsh index 2ff5d8b..7ba2cb6 100644 --- a/renderscript/include/rs_cl.rsh +++ b/renderscript/include/rs_cl.rsh @@ -926,7 +926,8 @@ _RS_RUNTIME float __attribute__((const, overloadable)) step(float edge, float v) FN_FUNC_FN_FN(step) FN_FUNC_FN_F(step) -// not implemented +// FIXME: not implemented +#if 0 extern float __attribute__((const, overloadable)) smoothstep(float, float, float); extern float2 __attribute__((const, overloadable)) smoothstep(float2, float2, float2); extern float3 __attribute__((const, overloadable)) smoothstep(float3, float3, float3); @@ -934,6 +935,7 @@ extern float4 __attribute__((const, overloadable)) smoothstep(float4, float4, fl extern float2 __attribute__((const, overloadable)) smoothstep(float, float, float2); extern float3 __attribute__((const, overloadable)) smoothstep(float, float, float3); extern float4 __attribute__((const, overloadable)) smoothstep(float, float, float4); +#endif /** * Return the sign of a value. diff --git a/renderscript/lib/arm/libRSSupport.so b/renderscript/lib/arm/libRSSupport.so Binary files differindex 5b303bc..1e828ef 100755 --- a/renderscript/lib/arm/libRSSupport.so +++ b/renderscript/lib/arm/libRSSupport.so diff --git a/renderscript/lib/arm/libc.so b/renderscript/lib/arm/libc.so Binary files differindex e832f6f..97e0bd4 100755 --- a/renderscript/lib/arm/libc.so +++ b/renderscript/lib/arm/libc.so diff --git a/renderscript/lib/arm/libm.so b/renderscript/lib/arm/libm.so Binary files differindex c777400..6c9fe3f 100755 --- a/renderscript/lib/arm/libm.so +++ b/renderscript/lib/arm/libm.so diff --git a/renderscript/lib/arm/librsjni.so b/renderscript/lib/arm/librsjni.so Binary files differindex 0d4c150..de0dd16 100755 --- a/renderscript/lib/arm/librsjni.so +++ b/renderscript/lib/arm/librsjni.so diff --git a/renderscript/lib/arm/librsrt_arm.bc b/renderscript/lib/arm/librsrt_arm.bc Binary files differnew file mode 100644 index 0000000..5c53b2f --- /dev/null +++ b/renderscript/lib/arm/librsrt_arm.bc diff --git a/renderscript/lib/javalib.jar b/renderscript/lib/javalib.jar Binary files differindex daac526..139ec05 100644 --- a/renderscript/lib/javalib.jar +++ b/renderscript/lib/javalib.jar diff --git a/renderscript/lib/mips/libRSSupport.so b/renderscript/lib/mips/libRSSupport.so Binary files differindex b31817d..99b83b9 100755 --- a/renderscript/lib/mips/libRSSupport.so +++ b/renderscript/lib/mips/libRSSupport.so diff --git a/renderscript/lib/mips/libc.so b/renderscript/lib/mips/libc.so Binary files differindex 74a6a25..fc33e34 100755 --- a/renderscript/lib/mips/libc.so +++ b/renderscript/lib/mips/libc.so diff --git a/renderscript/lib/mips/libclcore.bc b/renderscript/lib/mips/libclcore.bc Binary files differindex 5c53b2f..63a23cb 100644 --- a/renderscript/lib/mips/libclcore.bc +++ b/renderscript/lib/mips/libclcore.bc diff --git a/renderscript/lib/mips/libm.so b/renderscript/lib/mips/libm.so Binary files differindex e8ce741..b1a6bf4 100755 --- a/renderscript/lib/mips/libm.so +++ b/renderscript/lib/mips/libm.so diff --git a/renderscript/lib/mips/librsjni.so b/renderscript/lib/mips/librsjni.so Binary files differindex 9875a8b..ffcc172 100755 --- a/renderscript/lib/mips/librsjni.so +++ b/renderscript/lib/mips/librsjni.so diff --git a/renderscript/lib/mips/librsrt_mips.bc b/renderscript/lib/mips/librsrt_mips.bc Binary files differnew file mode 100644 index 0000000..63a23cb --- /dev/null +++ b/renderscript/lib/mips/librsrt_mips.bc diff --git a/renderscript/lib/x86/libRSSupport.so b/renderscript/lib/x86/libRSSupport.so Binary files differindex 0051dd4..dc60dda 100755 --- a/renderscript/lib/x86/libRSSupport.so +++ b/renderscript/lib/x86/libRSSupport.so diff --git a/renderscript/lib/x86/libc.so b/renderscript/lib/x86/libc.so Binary files differindex 09b15f9..6014b8c 100755 --- a/renderscript/lib/x86/libc.so +++ b/renderscript/lib/x86/libc.so diff --git a/renderscript/lib/x86/libclcore.bc b/renderscript/lib/x86/libclcore.bc Binary files differindex 086c66a..edbb74c 100644 --- a/renderscript/lib/x86/libclcore.bc +++ b/renderscript/lib/x86/libclcore.bc diff --git a/renderscript/lib/x86/libm.so b/renderscript/lib/x86/libm.so Binary files differindex 3595d05..eb59c6c 100755 --- a/renderscript/lib/x86/libm.so +++ b/renderscript/lib/x86/libm.so diff --git a/renderscript/lib/x86/librsjni.so b/renderscript/lib/x86/librsjni.so Binary files differindex 55f9740..a3ba507 100755 --- a/renderscript/lib/x86/librsjni.so +++ b/renderscript/lib/x86/librsjni.so diff --git a/renderscript/lib/x86/librsrt_x86.bc b/renderscript/lib/x86/librsrt_x86.bc Binary files differnew file mode 100644 index 0000000..47979a6 --- /dev/null +++ b/renderscript/lib/x86/librsrt_x86.bc |