History log of /frameworks/rs/driver/runtime/Android.mk
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
89caa609295f2222661b319e5a197ae6ce184579 19-Feb-2016 Verena Beckham <verena@codeplay.com> Ensure arch/generic.c is always included in libclcore_g.bc.

This fixes a bug where the symbols contained in generic.c were not
accessible when running on x86_64 or MIPS64. That led to the linking
of apks on the device to fail.

Change-Id: Ic10cba73bcc229ec00a558f0eb6ef862aaa9096c
Signed-off-by: Verena Beckham <verena@codeplay.com>
(cherry picked from commit 39d95077c0fa1ab04739ec60a79eb8d9386242d0)

Bug: 30312793
/frameworks/rs/driver/runtime/Android.mk
2a54eadacced2ad69d39404bcb52b5332761c5ce 30-Mar-2016 Miao Wang <miaowang@google.com> Add librsrt_x86_64.bc and modify the script to update x86_64 prebuilts.

Bug: 19735423
Change-Id: Iabf5ba261f113e72ccab06afca968a036b9679e1
/frameworks/rs/driver/runtime/Android.mk
f515ce0b076986593622d81f4b6c1f3fac91a03f 24-Mar-2016 Pirama Arumuga Nainar <pirama@google.com> Revert WARS related to __truncxfhf2

Bug: http://b/26165616
Bug: http://b/23535482

Revert "Add __truncxfhf2() to libclcore_g.bc as well on x86 targets."

This reverts commit 53f2796ad6c7487c298b49b62a0ea36ac95c54e5.

Revert "Implement __truncxfhf2 in driver/runtime"

This reverts commit d68b3c3a1ffa365e6be78afe74b3bf02bae3834d.

(cherry picked from commit 3276e6d5fd86ef7b9a6e7b8c89922757da5d23ad)
/frameworks/rs/driver/runtime/Android.mk
480202aa71e8d784ae01d0c9a1094fa7f87cd4c0 14-Mar-2016 Pirama Arumuga Nainar <pirama@google.com> Update frameworks/rs/ for LLVM rebase to r256229

http://b/26987366

(cherry picked from commit 651a38eb254f069f28fc99b7d180756123ff3a8a)

Change-Id: I66e136e04c1e534337b1f6cc563f92348da64fef
/frameworks/rs/driver/runtime/Android.mk
6ddb349243e03b30b9d11cc0405d048cd07b6378 18-Feb-2016 Stephen Hines <srhines@google.com> Add __truncxfhf2() to libclcore_g.bc as well on x86 targets.

Bug: http://b/23535482

In order to facilitate x86 debugging (and simplify our build a bit), I
moved this function to a separate file. Once we have updated LLVM, we
can remove this function (since it won't be used anymore).

Change-Id: I91106a177b987187e40d556a2a0ae96e24b09e65
(cherry picked from commit 53f2796ad6c7487c298b49b62a0ea36ac95c54e5)
/frameworks/rs/driver/runtime/Android.mk
8c3ddbcb5621543ff1fa55e3fbdfcbc0df6d598b 19-Nov-2015 Lukas Kuklinek <lukas.kuklinek@codeplay.com> Build RenderScript cpu_ref kernel ABI debug info.

This change adds extra debugging information to libclcore_g.bc. The
debug info contains description of ABI interface between the host code
and the expanded kernel. In particular, the type information about
RsExpandKernelDriverInfo struct from cpu_ref/rsCpuCoreRuntime.h (that is
being passed as the first argument to the expanded kernel) is captured.
The function prototype of the expanded kernel function is also mirrored
here in a small stub C file (driver/runtime/rs_abi_debuginfo.c). Clang
is then used to generate the debug information from the file.

(cherry picked from commit ac90816512460a26132b07f1b34c638e49270515)

Change-Id: Idea8c8192cd22eb080306be9a43c6e404b736d92
/frameworks/rs/driver/runtime/Android.mk
f7f9316f4cf373733285f947bea876ead7216715 18-Nov-2015 Verena Beckham <verena@codeplay.com> Add a new libclcore_g library which contains debug info.

Add a new libclcore_g.bc which is functionally equivalent to
libclcore.bc but is compiled with debug information and -O0.
To achieve this some allocation functions had to be written in C,
because they were previously available in LLVM IR without debug
information.
The RenderScript cts has been run to verify these changes, both as it
is and forcing it to link with the new libclcore_g library. Both runs
show no regressions.

Signed-off-by: Verena Beckham <verena@codeplay.com>

(cherry picked from commit fb99e0f905b0f73a505c7900b434531ce7c3e2e5)

Change-Id: I64c82ce6f571e766c3c607e926326040dff8257c
/frameworks/rs/driver/runtime/Android.mk
14c8aa51782107afb6f84187233f5ac8f6da0373 18-Nov-2015 Verena Beckham <verena@codeplay.com> Move implementations of quaternion functions into driver/runtime.

Move the implementation of all quaternion functions from rs_math.rsh
driver/runtime. The old implementation remains in place for older
versions, and the move occurs only for an UNRELEASED API level.
Added a new file driver/runtime/rs_quaternion.c to contain the
implementations.

Signed-off-by: Verena Beckham <verena@codeplay.com>

(cherry picked from commit 336fc4b3fb2df22623d51d9bbb996d11cd69f16c)

Change-Id: Ib37fad0a911d05640f7b2b9e88b25cd0053108c1
/frameworks/rs/driver/runtime/Android.mk
f9760483073d9f452e4701fbf367dc518f7e6531 04-Feb-2016 Pirama Arumuga Nainar <pirama@google.com> Implement copysign, ilogb and nextafter for half

http://b/23536224

Implementations are based on float32 implementations in
bionic/libm/upstream-bsd.

Change-Id: Id2f28caae22e86a2cc401996902bf8be93cb9328
/frameworks/rs/driver/runtime/Android.mk
dd635b0a5095b1b2dfae0458069d03c6a13c3473 29-Oct-2015 Yong Chen <yong.a.chen@intel.com> X86: Add missing functions for libclcore files

Change-Id: Ia9b70843dfa32acabf8d71ce77e253f8a376c16a
Signed-off-by: Yong Chen <yong.a.chen@intel.com>
/frameworks/rs/driver/runtime/Android.mk
b370582ff4f5487cbe2bde954200e509da63be8d 11-Sep-2015 Pirama Arumuga Nainar <pirama@google.com> Add arch/generic.c to non-AArch64 64-bit libclcore

Bug: 23687554

Include arch/generic.c to libclcore.bc for non-AArch64 targets. This
should only affect MIPS64. x86 uses libclcore_x86.bc, which is built
separately.

Change-Id: Ifbc02e38cbe44265eac55f7277453eb2326b40cc
/frameworks/rs/driver/runtime/Android.mk
67923a9e829d89522bb5338a6d635d807a7ee59b 13-May-2015 Jean-Luc Brouillet <jeanluc@google.com> Obsolete the graphics API in the .rsh files.

Mark the graphics APIs as no longer available starting with version 23.

Modify the generator to change the #ifdef guards around the API to
enable internal code to still access the obsoleted APIs, as we still
neeed to support them at runtime.

Also, include a documentation change in the rs_convert header file that had not
been included previously.

Change-Id: Iaad4833f504da9aa9f5069a977c37b86d1316d3a
/frameworks/rs/driver/runtime/Android.mk
dced5c96bc53c45a1aac782ea9bd738b0d50fd09 12-Mar-2015 David Gross <dgross@google.com> Add new APIs rsGetDim[XYZ]() and add RSTest test cases to exercise them.

Test UT_kernel3d does not pass reliably, so it is disabled for now.

Tests will not compile without related
platform/frameworks/compile/libbcc and
platform/frameworks/compile/slang changes.

Bug: 18964628

Change-Id: I39660400953306ceb47c8b5e9665e8f0084775dd
/frameworks/rs/driver/runtime/Android.mk
069fc8c18b1f951c41f9424843f234271ac86f80 01-Oct-2014 Tim Murray <timmurray@google.com> am 3370b383: Merge changes Ic03dcc4f,I5ac7a5fd

* commit '3370b383a13172a5f9678e9876063a19af00da3e':
Fix building librsrt_<arch>.bc.
Update prebuilts script to use new host lib directory.
1d279546c73b667c5afd855554c0120503e48f9f 01-Oct-2014 Tim Murray <timmurray@google.com> Fix building librsrt_<arch>.bc.

By building for host, the LOCAL_SRC_FILES_<bitness> was no longer
reliable.

Change-Id: Ic03dcc4fa70d730f87c8783edfdd5233051b9db7
/frameworks/rs/driver/runtime/Android.mk
e0cdd4f6895597e3ab36253cc085ae01685ee1df 18-Aug-2014 Tim Murray <timmurray@google.com> Fix rsSetElementAtImpl and triple.

bug 16846318

Change-Id: Iac75d261aaf5c38dfd414adf73c8311005a189f0
(cherry picked from commit bdceed58826b6b4191a7f483764347895d0172d7)
/frameworks/rs/driver/runtime/Android.mk
27b484acd4ba0ccd459e47901b06e832874967aa 02-Sep-2014 Stephen Hines <srhines@google.com> resolved conflicts for merge of f89af228 to lmp-dev-plus-aosp

Change-Id: I8c95fc6a409928262e23640a9aa8fa8bd87ee48c
8641b7ce4e963122603d7498d860d5679437a206 29-Aug-2014 Stephen Hines <srhines@google.com> Build RS runtime libraries using our arm and aarch64 triples only.

Bug: 17333374

Without this change, we might end up using different (broken) calling
conventions on non-ARM architectures. This ensures that all C source
files get built the same. Any .ll files can still use the appropriate
target arch-specific features.

Change-Id: I2658c49620d297cb1ef8b96b5b5d1597f5fd7361
/frameworks/rs/driver/runtime/Android.mk
bc1136f44f7816be807cfaf75a9e1e7983eace38 27-Aug-2014 Tim Murray <timmurray@google.com> Fix 32-bit clcore on ARM64.

32-bit clcore wasn't getting generic.c on ARM64, resulting in
missing symbols.

bug 17300428

Change-Id: I21969e06b620ecc667d507c5ee17cee739427178
/frameworks/rs/driver/runtime/Android.mk
974467797f45a7e4ac191eb158edb78492a48e56 26-Aug-2014 Tim Murray <timmurray@google.com> Enable ASIMD math operations.

bug 16846318

Change-Id: Ia19cca77ef7ab6e14da9fefad522f79e25c810de
/frameworks/rs/driver/runtime/Android.mk
bdceed58826b6b4191a7f483764347895d0172d7 18-Aug-2014 Tim Murray <timmurray@google.com> Fix rsSetElementAtImpl and triple.

bug 16846318

Change-Id: Iac75d261aaf5c38dfd414adf73c8311005a189f0
/frameworks/rs/driver/runtime/Android.mk
16cfba29a921308efad37855c487d4278de5f571 12-Jun-2014 Tim Murray <timmurray@google.com> Update how the debug runtime is built for 64-bit.

Change-Id: I3b17836c789c5db3dab54737b790969c675b94c3
/frameworks/rs/driver/runtime/Android.mk
be46aa62ed595c517dbf236dfbb3d22e1c194907 10-Jun-2014 Tim Murray <timmurray@google.com> Correctly build 64-bit runtime library by splitting into 32 and 64 components.

Change-Id: Ia520418c42e5a50840b72610c3dc71190eaaf1d7
/frameworks/rs/driver/runtime/Android.mk
3ff0fe77fdba8ad4a920dc27157d8c1786bb3661 20-May-2014 Jason Sams <jsams@google.com> Cleanup 64bit and remove deprecated functions

Change-Id: I8f4570af8ab7da05831258dd264118b28ce5d352
/frameworks/rs/driver/runtime/Android.mk
c17fa065b6fee1d2176bd057de98b93d723b59e5 14-May-2014 Stephen Hines <srhines@google.com> Switch to use slang/rs_version.mk for consistency.

Change-Id: Ibfda53448570be58941133cb53c1bbb90391aa30
/frameworks/rs/driver/runtime/Android.mk
70404fa9781f13a8ca07d621f74f3810daab9704 05-May-2014 Jason Sams <jsams@google.com> Switch to using LLVM intrinsics for conversions

Replaces the hand written .ll files for conversion.

Change-Id: Ie8c6c8354847ddc84217f163060a9ee909496327
/frameworks/rs/driver/runtime/Android.mk
8c24cd62187fb963cb1b76d2e91ae8c247c7f6fb 11-Apr-2014 Tim Murray <timmurray@google.com> Update fw/rs for Clang 3.5.

Change-Id: I0a9a1b1e61cb435f0102936ad9ffd51599c49e88
/frameworks/rs/driver/runtime/Android.mk
087fa6e19968b55e5fae7aa38971c8ec63b616c6 23-Apr-2014 Tim Murray <timmurray@google.com> Merge "Remove VP9-related runtime functions."
e195a3f57ace3b66d313a6ee88c6e93d5c9d87f4 13-Mar-2014 Tim Murray <timmurray@google.com> Make RS compile on ARM64.

bug 13280327

Change-Id: I79080c448ca17d0cba8df075737c22b24ce9a085
/frameworks/rs/driver/runtime/Android.mk
531ee4ef10f54dab0ba1d5f7248073da06907425 25-Feb-2014 Tim Murray <timmurray@google.com> Remove VP9-related runtime functions.

We've decided that it makes more sense to support this as an intrinsic rather than a set of runtime functions for kernels.

Change-Id: I9b99e4d9edc3ca185437a88c837405195eab18a2
/frameworks/rs/driver/runtime/Android.mk
b1657a5989c1d52a5c107bd787a2ea8616cf69ee 12-Feb-2014 Colin Cross <ccross@android.com> rs: build bc files for multiple architectures

Build bc libs for first and second architectures on multilib builds.

Change-Id: I0732e070e2b3d906132cad0b62a699bf65d34ca6
/frameworks/rs/driver/runtime/Android.mk
1b0b0baa2e094de111f05e959f23cc9f589a99b6 19-Feb-2014 Colin Cross <ccross@android.com> Revert "rs: build bc files for multiple architectures"

This reverts commit 448c4db4867adeedf5860de7f89a401233393539.

Change-Id: I31e83868c09834228d54b8de9895a68220b70807
/frameworks/rs/driver/runtime/Android.mk
448c4db4867adeedf5860de7f89a401233393539 12-Feb-2014 Colin Cross <ccross@android.com> rs: build bc files for multiple architectures

Build bc libs for first and second architectures on multilib builds.

Change-Id: I5eddb2e73088ae9aac4e8816ba9aefa39abcc97a
/frameworks/rs/driver/runtime/Android.mk
197fc09254eace8d2625c23c192487e376b39d35 28-Jan-2014 Matthieu Delahaye <matthieu@multicorewareinc.com> Add image computing oriented builtin functions

The new built-in functions covers inverse DCT, ADST and walsh transforms.

Change-Id: Ie7044da4a5becf2cc80d066a258211721a5939d4
/frameworks/rs/driver/runtime/Android.mk
c3cfa12028dc35494a03b0ffd802b800ed9981de 21-Dec-2013 Stephen Hines <srhines@google.com> Produce librsrt_<ARCH>.bc files as host shared libraries.

BUG: 12247226

These will be used with bcc_compat and the RenderScript support library to
ensure that we can generate optimized shared object files.

Change-Id: I67306867f9f1b70f0986eb4ff484a26bcecba373
/frameworks/rs/driver/runtime/Android.mk
4da42506a08ed7fdb61615b3524f111df939fc6e 03-Oct-2013 Stephen Hines <srhines@google.com> Remove references/use of ARCH_X86_HAVE_* in frameworks/rs.

Bug: 11048298

These SSE-related defines are unnecessary because all x86 Android devices
have these features. We switch all the checks to __i386__ instead.

This also fixes an issue where non-ARM bitcode files were being created with
the ARM defines present. This is problematic when we then try to do things
that would be arch-specific (i.e. the presence of SSE-enabled functions for
clamp(), ...).

This also cleans up the different target architecture specified in the x86
bitcode files so that they match the platform target (i686-unknown-linux).

Change-Id: I4776bbdce360de26e8a00e05d2cb19341d94a173
/frameworks/rs/driver/runtime/Android.mk
146e138f5c6eb4980ee6d85d33b951b87b6e8efe 20-Aug-2013 Stephen Hines <srhines@google.com> Refactor the libbcc runtime for x86 platform

This patch is merged/rebased from AOSP, where it was initially submitted to
frameworks/compile/libbcc by Jun Tian <jun.j.tian@intel.com>. All conflicts
have been resolved.

This patch refactors the libbcc runtime code to support x86 platform.
It removed the redundant x86 code and added the missing functions in
libclcore_x86.bc.
It resolved the RenderScript failures on the x86 platform.

Bug: 9961583
Change-Id: I2c8be0f710960ee5e0614721f5edfbaf028c67e1
/frameworks/rs/driver/runtime/Android.mk
1ed5ef9b253850a199eecff6b7941e57c408e509 29-Jul-2013 Tobias Grosser <grosser@google.com> Provide Renderscript TBAA metadata for allocations

Annote all common runtime functions that get or set data in an allocation
with Renderscript TBAA metadata.

Change-Id: Ie56117f5d094b7e9579e9ff926990fcacfe38019
/frameworks/rs/driver/runtime/Android.mk
080e2ef14e9090b38a37197d1bf5c5eba69cc77f 30-May-2013 Tobias Grosser <grosser@google.com> Build NEON run-time when targetting cortex-a15

The build of the NEON run-time library has been disabled for cortex-a15, as
performance with NEON enabled was lower than performance without NEON. We now
have ideas why this was the case. To enable testing of NEON performance and
later to switch on NEON by default, we now enabled the build of the library.

Change-Id: Iaf44e221a124d7829425c47a7e36aa43dc2fd02d
/frameworks/rs/driver/runtime/Android.mk
5a47020542c52af3e879c1cd67674ca979ff0a18 30-May-2013 Stephen Hines <srhines@google.com> Move RS runtime to frameworks/rs.

Bug: 7342767
Change-Id: Ia45064a5257b8ce460918f327670e3be550d4b56
/frameworks/rs/driver/runtime/Android.mk