• Home
  • History
  • Annotate
  • only in /frameworks/compile/libbcc/lib/Renderscript/
History log of /frameworks/compile/libbcc/lib/Renderscript/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
4839c9acf4e935dab0b3de3fac0e315d00c3a369 30-Oct-2014 Tim Murray <timmurray@google.com> Disable step opt for 12-byte structs on 64-bit.

bug 17663411

Change-Id: I21c67f95704e8aeb63f72bd371b1b5a5cc6e569d
SForEachExpand.cpp
c43e1ba9cf40277dd496fe503e777906d2755251 01-Aug-2014 Chris Wailes <chriswailes@google.com> Fixes AArch64 struct calling convention issue.

Change-Id: I9a760c1238ff8b30e0a29a2cd11a030b17b283e2
SForEachExpand.cpp
ef406964e2ba7e45d3a044d2fb459dce92569560 08-Jul-2014 Jean-Luc Brouillet <jeanluc@google.com> Deprecate rs_fp_imprecise.

If rs_fp_imprecise is specified, issue a warning and
use rs_fp_relaxed instead.

Change-Id: I054fa32128bda60a6d22a0a6a590cd9f3575a2ca
SInfo.cpp
881cda4f5b793a1e7f7d33cf4a31efc3fdbba4fd 23-Jun-2014 Chris Wailes <chriswailes@google.com> Adds support for multi-input kernels to libbcc.

This patch modifies libbcc in the following ways:
* Adjusted the data-layout of the LLVM version of RsForEachStubParamStruct to
accommodate a pointer to an array of input allocations and a pointer to an
array of stride sizes for each of these allocations.
* Changed how some LLVM values are stored in ExpandKernel.
* Causes expanded multi-input kernels to extract input allocation base pointers
from a field in the param strcut and load values from these allocations
appropriately.
* Causes expanded multi-input kernels to use the provided dynamic input stride
sizes if no appropriate static type information is present.
* Modified bitinfo to support a new development API target which is used to
version gate support for multi-input kernels.

Change-Id: I46d2834c37075b2a2407fd8b010546818a4540d1
SForEachExpand.cpp
f2ac3176c351cd80bce77fe1488f3de2d0789c1b 26-Jun-2014 Jean-Luc Brouillet <jeanluc@google.com> Use build fingerprint and compile command for caching.

If either of those have changed, we need to invalidate the
compiled bit code.

Change-Id: I9b5cdc19e29237dc7fb2ec1627a167f3f8987702
SCompilerDriver.cpp
SInfo.cpp
SInfoExtractor.cpp
SInfoReader.cpp
c5e607adff80a66bc5420baffd299862abdf368d 19-Jun-2014 Jean-Luc Brouillet <jeanluc@google.com> Change cache dependency tracking.

Remove the fix dependencies and make it depend only on the source
hash. More changes coming soon to add dependencies on the Android
build fingerprint and the command line used to compile.

Change-Id: I8964044affccf52326ce286f879307eca79d0b24
SCompilerDriver.cpp
SInfo.cpp
SInfoExtractor.cpp
SInfoReader.cpp
SInfoWriter.cpp
SScript.cpp
ca5135eb0f6aa12c28433f66249e218479e5d6dc 19-Jun-2014 Tim Murray <timmurray@google.com> Merge "Fix build break caused by missing ifdefs."
37dc23b9917dcb997ee144936b2b27d3881942eb 19-Jun-2014 Tim Murray <timmurray@google.com> Fix build break caused by missing ifdefs.

Change-Id: I29e8e1c58b9702873a2a4b932794720ee279492e
SInfoExtractor.cpp
SScript.cpp
fd3f8c64f5ff70660f9760dbc61064849905f1de 18-Jun-2014 Tim Murray <timmurray@google.com> Merge "Don't require libclcore_neon.bc on AArch64."
bdbff6e600b0d834e4770f65c7d2df93d7ef305c 13-Jun-2014 Chris Wailes <chriswailes@google.com> Simple cleanups in RSForEachExpand.cpp

Re-named single character variable names.
Re-named some variables for clarity.
Factored out type construction code to only occur once every time the pass is
run on a module.
Removed unnecessary temporary vectors.
Removed a check for an invariant guaranteed by another function.
Added some assertions.

Change-Id: I0debcc301ed28f4ecaf7dadcaada604e3eff9830
SForEachExpand.cpp
a5b1343e0db3eaf41ced3d9978cd72b8cf4cda1f 14-Jun-2014 Tim Murray <timmurray@google.com> Don't require libclcore_neon.bc on AArch64.

Change-Id: Ieb4eea41f74917c201a07aa8b246816430fcac5c
SInfo.cpp
4f7fdd47da5135a508bdfca445347fae5e8898ba 28-May-2014 Tim Murray <timmurray@google.com> Update libbcc for ARM64.

Properly sets NEON/VFP on ARM64. Begins to remove cache from libbcc.

Change-Id: I66f50fa20d606c38d5e7af0a6fa8c6e73b2aff32
SInfoReader.cpp
373f5e7baf1567fa32f6a3033788641ab445a28c 28-May-2014 Tim Murray <timmurray@google.com> Fix foreach func vector resize issue.

Change-Id: Ie446319900558bbf5ecb30ee1b874c260197080b
SCompiler.cpp
b39557ea3f72e1854581aa1f859b2323499389b1 22-May-2014 Stephen Hines <srhines@google.com> Separate out the symbol resolver from RSCompilerDriver.

This change makes compilation distinct from loading. The symbol resolvers
now need to be instantiated directly by the RS driver.

Change-Id: I37ce409f1b2e538d9091c025895e639a250d6466
SCompilerDriver.cpp
bde1a2599780d6eaebbc284976ceb690492f6abd 16-May-2014 Stephen Hines <srhines@google.com> Remove unnecessary inheritance for CompilerConfig, as we switch to offline bcc.

Change-Id: Id4a5be7b2b4627bfa7ef6279eb3b5b8e75915a7d
SCompilerDriver.cpp
1ae3fd6e2290fe1635bafe91a65e0e88e641b6fc 15-May-2014 Stephen Hines <srhines@google.com> Fix some minor issues picked up by valgrind.

Standalone bcc was leaking memory due to misuse of OwningPtr.
RSInfo was not clearing a buffer before using only part of it. The
whole buffer was being written out in the resulting file, however.

Change-Id: Icd455748f81a06d022f1e5ed83a2ab1cae3fef09
SInfo.cpp
25eb586bb055ae07c7e82a2b1bdbd6936641580c 09-May-2014 Stephen Hines <srhines@google.com> Switch RSForEachExpandPass to use MetadataExtractor.

Change-Id: I442054e7aa2329b369f578052bd41c7a973cc822
SCompiler.cpp
SForEachExpand.cpp
1253c195dd7911ad91bd66790f03e4c2f8888ad2 09-May-2014 Stephen Hines <srhines@google.com> Switch to MetadataExtractor path.

Change-Id: Iabef9abb1c770ffe1e753cfd2fac808f60c19d8a
SCompiler.cpp
SEmbedInfo.cpp
2d201e547f1d32140ff8ead1818c169f441cf5fb 09-May-2014 Stephen Hines <srhines@google.com> Refactor RSEmbedInfo pass.

This change separates out the creation of the InfoString from the actual
embedding within the object file. This is important because we want to reuse
the InfoString for caching metadata.

Change-Id: I2524d39dc25c48fc968108e82c6aa01c1920ff1d
SEmbedInfo.cpp
1c4d30c707afbc2068b966d2ae6caefbb101f8ff 10-May-2014 Stephen Hines <srhines@google.com> ARCH_ARM_HAVE_NEON should be consistent for aarch64 targets.

Change-Id: I54979e9215f2a2cbc98641a841a24e32beb417b4
SInfo.cpp
ce73d6f365394883dd23b1da97135e4002e784e0 06-May-2014 Stephen Hines <srhines@google.com> Remove Makefile->Header code generation from libbcc.

These variables/defines are not often used and they complicate the use of
target information in other Android libraries.

Change-Id: I93dc71e17ae8ece1be46a3a609639ec8380cdaf9
ndroid.mk
c3437f05c638f8befda59170ae788873db24dc1c 31-Jan-2014 Stephen Hines <srhines@google.com> Improve standalone bcc for on-device compilation.

Bug: 7342767

This adds functionality for driver-writers to dynamically load plugins.
If such a plugin is loaded, we then execute any function called
rsCompilerDriverInit() from it. This function can initialize any other
state the driver-writer wants.

Change-Id: I733a6a3fc59c429a542cfcaf59a57ad231a19d01
SCompilerDriver.cpp
c2074caf075818abb6d3689ad924ca09f4a5ba1f 09-Apr-2014 Tim Murray <timmurray@google.com> Update libbcc for 64-bit support.

Change-Id: I369a82eb6730a33c46b6700408952fe34020ca51
ndroid.mk
SInfo.cpp
70a7671e4e107ad52aba0629f9b29ff01941c496 17-Apr-2014 Tim Murray <timmurray@google.com> Merge "Change 64bit library path from /system/lib/ to /system/lib64"
36e642c0a89cc6f3a95dadfe1fc2b890c0758b15 04-Apr-2014 WeiTang <wei.a.tang@intel.com> Change 64bit library path from /system/lib/ to /system/lib64

Change-Id: Ie2ec537bb71ca6573588bcaf893d871ba9b5c051
SInfo.cpp
SScript.cpp
c6e6ee4392390c0888f808220adf33334e1f64a4 07-Apr-2014 Tim Murray <timmurray@google.com> Add DISABLE_LLVM_DEVICE_BUILDS to libbcc.

Change-Id: Iaad7b2ea8eea6c89c1c1a3d0e145bbb7bf60c6b9
ndroid.mk
8f7345d68d2595ddf3d7c2aae01a29d0530afb92 22-Mar-2014 Colin Cross <ccross@android.com> libbcc: disable more modules for arm64

Disable building libbccSupport and libbccRenderscript for 64-bit

Change-Id: Ied29b4eb129f42b1d3ad0a6d71a683d28b3e14be
ndroid.mk
3cd3ec8f9d30d219cecd30ce8b221241a79a74d9 18-Mar-2014 Jean-Luc Brouillet <jeanluc@google.com> Fix incorrect memcmp in RSInfoReader.

modified: RSInfoReader.cpp

Change-Id: I669cfaeb0eb5354402410b3742f590cfc593d0ba
SInfoReader.cpp
14588cf0babf4596f1bcf4ea05ddd2ceb458a916 19-Feb-2014 Logan Chien <logan.chien@mediatek.com> Fix TBAA: Set path tag metadata to instruction.

This commit replace the old createTBAANode() with the
struct-path TBAA introduced after LLVM 3.3.

This should fix the possible regression after merging LLVM 3.4.

Change-Id: Ie21fe4616784bad467b0f20226fce48da3afb2bd
SForEachExpand.cpp
9c5263e00d89dfdd25d3a1706eb319e8529ec604 12-Feb-2014 Stephen Hines <srhines@google.com> Provide a flag to disable TBAA for RS (and disable TBAA temporarily).

Bug: 12977065

This is currently blocking the LLVM 3.4 rebase, since our TBAA pass is causing
NULL pointers to be dereferenced.

Change-Id: I51cd9d0efc331150970c3054a9cd26f55aa2eb0d
SForEachExpand.cpp
045558bd401d0af58a0b57594d75d45ff3035dc9 18-Feb-2014 Stephen Hines <srhines@google.com> Fix disabling global merge option with standalone bcc.

mConfig will be set before entering setConfig so
EnableGlobalMerge needs to be refreshed every time.

Change-Id: Ia51e706e717636ea7a87f625256d21bb050da6db
SCompilerDriver.cpp
4face7bf943d93ee91ca94f05df2034550f318fd 03-Oct-2013 Stephen Hines <srhines@google.com> resolved conflicts for merge of 8d972a6f to klp-dev-plus-aosp

Change-Id: I7d1f460a1b6de08b11b430f90c7bf2534e5cca31
8d972a6f7975f3b43a1551eb5619f008561a5029 03-Oct-2013 Stephen Hines <srhines@google.com> resolved conflicts for merge of 4293770c to stage-aosp-master
77e2f0f3756897029811726095c0be16e2a4f397 15-Aug-2013 Jun Tian <jun.j.tian@intel.com> DO NOT MERGE: Refactor the libbcc runtime for x86 platform

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: Ieed97e90c7c7691185a88dc425a2dd8c68aeb806

Signed-off-by: Yong Chen <yong.a.chen@intel.com>
untime/Android.mk
untime/arch/dot_length.c
untime/arch/generic.c
untime/arch/sqrt.c
untime/arch/x86_clamp.ll
untime/arch/x86_dot_length.ll
untime/arch/x86_generic.c
untime/arch/x86_math.ll
untime/arch/x86_sse2.ll
untime/arch/x86_sse3.ll
untime/build_bc_lib.mk
untime/rs_cl.c
untime/rs_sample.c
5aa70e1912813e173171b7d8540eb4a896f86b42 03-Oct-2013 Stephen Hines <srhines@google.com> Remove references/use of ARCH_X86_HAVE_*.

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: Ibbead4aecba2c90bdbe6ff362960079cb7a9e4dc
SInfo.cpp
SScript.cpp
untime/Android.mk
untime/arch/generic.c
untime/arch/x86_sse2.ll
untime/arch/x86_sse3.ll
untime/build_bc_lib.mk
untime/rs_cl.c
acf9c9eeb5a07535dbed5b272c7f22cc1b050a40 27-Sep-2013 Stephen Hines <srhines@google.com> resolved conflicts for merge of b9a4701b to klp-dev

Change-Id: I9f7924c489d36913e130fd5e7617e3a96e65f1a1
c9cdca6e9d7c0e4973c7c5f4fcbf1483b06c674d 26-Sep-2013 Stephen Hines <srhines@google.com> Fix windows line ending bug.

http://code.google.com/p/android/issues/detail?id=60327

Change-Id: I578bab2f41347ac2e43b7d4dc1f206c5f91aeae5
SCompilerDriver.cpp
3d740780dfc4c446d89b9d130d739b4aa90c8298 12-Jul-2013 Stephen Hines <srhines@google.com> DO NOT MERGE - Only support EnableGlobalMerge on ARM architectures.

Change-Id: I5c4c236c306e120c5aa24fbc91815cc27d7aab0f

Conflicts:
include/bcc/Renderscript/RSCompilerDriver.h
SCompilerDriver.cpp
957c9bcff7f9811cd9cb62211c888338228f8a15 30-Apr-2013 Stephen Hines <srhines@google.com> DO NOT MERGE - Provide a way to disable LLVM's global merge optimization.

Change-Id: I92dff2a208c821722f057dd8c26bd12a1cb5a794

Conflicts:
include/bcc/Renderscript/RSCompilerDriver.h
lib/Renderscript/RSCompilerDriver.cpp
SCompilerDriver.cpp
b441caf2915b86a93a0e195290980416da9e8307 15-Aug-2013 Jun Tian <jun.j.tian@intel.com> DO NOT MERGE: Refactor the libbcc runtime for x86 platform

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: Ieed97e90c7c7691185a88dc425a2dd8c68aeb806

Signed-off-by: Yong Chen <yong.a.chen@intel.com>
untime/Android.mk
untime/arch/dot_length.c
untime/arch/generic.c
untime/arch/sqrt.c
untime/arch/x86_clamp.ll
untime/arch/x86_dot_length.ll
untime/arch/x86_generic.c
untime/arch/x86_math.ll
untime/arch/x86_sse2.ll
untime/arch/x86_sse3.ll
untime/build_bc_lib.mk
untime/rs_cl.c
untime/rs_sample.c
0784365a38fd5a9c08dd484f9ba549328d4dff97 16-Aug-2013 Stephen Hines <srhines@google.com> resolved conflicts for merge of 8607272a to klp-dev

Change-Id: Ic9b996432bfcd228ae8a45f75bc9c564a3a66a31
b10c3a7d91556ef31ce91ef018fee4722b783960 08-Aug-2013 Stephen Hines <srhines@google.com> Update libbcc for LLVM merge to r187914.

Switch over to new llvm::sys::path implementation.
Remove unused Source::CreateFromFd().
F_Binary is now in llvm::sys::fs.

Change-Id: Ib0ebb8a1d8ea04e5cf36c8082cf31dab2e144554
SCompilerDriver.cpp
d7a95265621a788a6de8c0c3a27a588d7c466f79 09-Aug-2013 Stephen Hines <srhines@google.com> Remove locking code on Windows builds.

Change-Id: Ia5656cf4feec3206e73ecc3e3b504146b0c66707
SCompilerDriver.cpp
c1567c07c7ffd7371b295964177743488bde008a 07-Aug-2013 Stephen Hines <srhines@google.com> Merge "Decode RenderScript kernel signatures using bcinfo::MetadataExtractor."
1a36fcaac9255684fec371868c80ecab0b68c8c2 07-Aug-2013 Stephen Hines <srhines@google.com> am a08768d4: am 48cd7454: Fix Windows build issues for libbcc.

* commit 'a08768d46fa5e3087d0fbd288366c53495ee2773':
Fix Windows build issues for libbcc.
d88177580db4ddedf680854c51db333c97eabc59 03-Aug-2013 Stephen Hines <srhines@google.com> Decode RenderScript kernel signatures using bcinfo::MetadataExtractor.

Change-Id: I9472d0c36e23a1e0d583fc823c986ee7a1bb05ed
SForEachExpand.cpp
18a38a3fc6fad8355891b771dd3c6537fa8699ec 27-Jul-2013 Tobias Grosser <grosser@google.com> Annotate allocations with Renderscript TBAA metadata

We extend the RSForEachExpand pass to emit Renderscript TBAA metadata.
This allows us to prove the absence of aliasing between accesses to to
allocations and other data accesses. This is especially useful as it enables
the compiler often to hoist loop invariant globals out of the compute loop.

Change-Id: Ic993c85b56ecf79b9cd5241fe3d961ace2b23935
SForEachExpand.cpp
d06574b6d2114b0c00fdf9e3fd292211031571b1 01-Aug-2013 Stephen Hines <srhines@google.com> Use BUILD instead of HOST for bcc_strip_attr.

Change-Id: Ifeea47994e36d29f690bd77af812500f7e023db1
untime/build_bc_lib.mk
48cd745480738c026312931877ecb8ebecb1c64e 31-Jul-2013 Stephen Hines <srhines@google.com> Fix Windows build issues for libbcc.

Add unimplemented versions of dlfcn.h functions.
Remove OutputFile::CreateTemporary(), since it is unused.
Remove unnecessary includes to prevent issues with missing libraries.

Change-Id: I74bea72c8f174843e61faa8cac8bd6ae429a1bc0
SInfo.cpp
6a5fa14074200a18824defa0bffc64e5f2487152 24-Jul-2013 Tobias Grosser <grosser@google.com> Remove beforeExecuteLTOPasses callback

This callback had very unclear semantics and the current use was suprising.
Specifically, it took a PassManager parameter, but adding anything to this pass
manager would cause the passes to be executed after the other LTO passes The
only way to execute passes before the LTO passes, was to create a new pass
manager that executes a pass right before all LTO passes (that have already
being queued in the pass manager passed in as a parameter) will be executed.
The very same behavior can be achieved by just adding our passes to the
normal pass manager using the "BeforeAddLTOPasses" callback.

We used this callback to schedule the ForEachExpand pass. This pass is now
moved to the beforeAddLTOPasses callback.

Change-Id: I3916543a4ee282e403174b90dc7b7588baab9ea3
SCompiler.cpp
c06cd06078a8c866d5cecbf897326092b55a8955 12-Jul-2013 Stephen Hines <srhines@google.com> Only support EnableGlobalMerge on ARM architectures.

Change-Id: I5c4c236c306e120c5aa24fbc91815cc27d7aab0f
SCompilerDriver.cpp
ad69476ec040ba9ee07176ccb758aabb5ff6d51c 30-Apr-2013 Stephen Hines <srhines@google.com> Provide a way to disable LLVM's global merge optimization.

Change-Id: I92dff2a208c821722f057dd8c26bd12a1cb5a794
SCompilerDriver.cpp
acde6013e9c448547e59eed04afd2adbd9681a3a 02-Jul-2013 Tobias Grosser <grosser@google.com> ForEach: Not all kernels are expanded

Bug: 9674197

There may be some graphics root functions that are not expanded
and can consequently not be marked as internal linkage.

Change-Id: I643a2c82b91ba94fbd30598402698173ca2307ab
SForEachExpand.cpp
cd5b657c39a348bd7652a19c5be5035e9df44a42 02-Jul-2013 Tobias Grosser <grosser@google.com> ForEach: Set internal linkage for kernel functions

The expanded function is the external visible interface. Setting internal
linkage will influence the cost function of the inliner. Specifically, the
inliner knowns that no external users will use the unexpanded kernel function,
which means it will inline it and remove the original function.

This gives a 22% speedup on the colorcube 3D, 19% on convolve3x3
as well as minor speedups on fisheye.

Change-Id: I9770c92d24dfc7978145e694d1a35829c5432264
SForEachExpand.cpp
4102bec56151fb5d9c962fb298412f34a6eacaa8 27-Jun-2013 Tobias Grosser <grosser@google.com> ForEach: No IntToPtr casts for ptr kernel inputs

Instead we replace the calculation of the pointer offsets with an explicit
getElementPointer instruction.

Change-Id: I95bedfa1b17b839a122548f4d855d6ec40c7467b
SForEachExpand.cpp
ae937ec9658c219a38d9d631d2569f19e21b50c0 27-Jun-2013 Tobias Grosser <grosser@google.com> ForEach: No IntToPtr casts for byvalue kernel inputs

Instead we replace the calculation of the pointer offsets with an explicit
getElementPointer instruction.

Change-Id: I4e31fe42382cd0f37ed582d62795555482186d96
SForEachExpand.cpp
02f3cd69a4103f91a51a2f988f2179c885d734b5 27-Jun-2013 Tobias Grosser <grosser@google.com> ForEach: No IntToPtr casts for ptr outputs

Instead we replace the calculation of the pointer offsets with an explicit
getElementPointer instruction.

Change-Id: I350cacd132d97dc620fe3c1c3ca89d1028677965
SForEachExpand.cpp
7b6629024395bf085ca64fcd5c69d2ded95e8d18 22-Jun-2013 Tobias Grosser <grosser@google.com> ForEach: No IntToPtr casts for byvalue outputs

Instead we replace the calculation of the pointer offsets with
an explicit getElementPointer instruction.

Change-Id: I814a18d4d48e3e0bd13ca93697ad049fa0ed8c4c
SForEachExpand.cpp
27fb7edfd3f53f52fba6ee81267c02f7896198a3 22-Jun-2013 Tobias Grosser <grosser@google.com> Dump LLVM-IR before generating target code

Dumping the IR earlier prevents target specific passes to modify
the IR before it is dumped.

Change-Id: I8a61efb7140b0c2025381ea1ad1f4cf3522ec870
SCompilerDriver.cpp
e87a0518647d1f9c5249d6990c67737e0fb579e9 26-Jun-2013 Tobias Grosser <grosser@google.com> ForEachExpand: Use consistently unsigned integers in loop

Previously we used an signed compare in the loop exit condition, but claimed
the absence of unsigned integer wrapping. We now use an unsigned comparison
reflecting that our integers are interpreted as unsigned values.

Change-Id: I3d77402e93dac625b3688078d5a1a826a32a9dac
SForEachExpand.cpp
e4a73f68e1b338881adf682c458e0b4b92ecd91e 22-Jun-2013 Tobias Grosser <grosser@google.com> ForEachExpand: Construct loop in a separate function

When expanding the loading/unloading of parameter values as well as the
creation of the implicit loop where mangled together. We now separate
them. This reduces code duplication and makes the difference between
the two ways of expanding a kernel more clear.

We also add some documentation and a FIXME that highlights the
surprising use of NUW during code generation.

The only functional change included here is that we switch to using PHI-nodes
instead of loading/storing the loop iterator to memory.

Change-Id: I8c28f3054eb00a73b8b754057625e52140c04405
SForEachExpand.cpp
806075b3a54af826fea78490fb213d8a0784138e 21-Jun-2013 Tobias Grosser <grosser@google.com> ForEachExpand: Create a complete function

In createEmptyExpandedFunction() we now create a complete function containing a
single basic block that directly returns. The advantage of creating a complete
function is that it allows us to maintain valid LLVM-IR throughout the whole
expansion process. This makes testing easier as commenting out later code does
not yield invalid LLVM-IR.

No functional change intended.

Change-Id: I0af12ec491f879be127461ff2a5a2c38543c8532
SForEachExpand.cpp
802f65931852d925bbe2e478bafe422b4002e7c4 20-Jun-2013 Tobias Grosser <grosser@google.com> ForEachExpand: Name arguments at the time the ForEachStub is created

This also removes code duplication.

No functional change intended.

Change-Id: Ie01d0578a70219909cac3c77e3b184589c371845
SForEachExpand.cpp
357b58691936bef425bd315c13a2d8019d7e9c7e 20-Jun-2013 Tobias Grosser <grosser@google.com> ForEachExpand: Factor out creation of ForEachStub function

This also removes code duplication.

No functional change intended.

Change-Id: I60f2d1d7017db33303ae1bffaa54f578a2276585
SForEachExpand.cpp
8ae4607d2dc5bc655d0c9225565d36ce2ebfc798 20-Jun-2013 Tobias Grosser <grosser@google.com> ForEachExpand: Create ForEachStub type in separate function

This also removes code duplication.

No functional change intended.

Change-Id: If00fced7db10c37306879fa633aa4453e84d98f0
SForEachExpand.cpp
d0304d59215f8b065332facf6db11d2aec0eb97c 20-Jun-2013 Stephen Hines <srhines@google.com> Merge "Switch to using full pathnames for cached information."
7b980e1717f3cf418f7bc4e40597004bc1139b8b 20-Jun-2013 Tobias Grosser <grosser@google.com> bcc: Add option -emit-llvm

Change-Id: I98470c6573b216518f77d338f4659d5b9fbcc3d3
SCompilerDriver.cpp
5eea973c91f1d202c6ecc4f753aa65893a5773a6 20-Jun-2013 Stephen Hines <srhines@google.com> Switch to using full pathnames for cached information.

Bug: 7342767
Change-Id: I8997f4d2834fd607bcfc3bb7db81d8e90b4e4f37
SCompilerDriver.cpp
88f8c52abea50f411c3774c935a6a1e04d17c182 13-Jun-2013 Stephen Hines <srhines@google.com> Update libbcc for LLVM merge to r183849.

Remove unused param to readBytes().
Path.h -> PathV1.h
Remove ability to load/run files from bcc tool.

Change-Id: I07d735fb86638412f01c4f8285d56f45ca35b672
SCompilerDriver.cpp
47f0d5a8d9ed629a6d58d3e69891f2c7fdee44d9 05-Jun-2013 Stephen Hines <srhines@google.com> Further separate build (compile) and load in libbcc.

Bug: 7342767

Change-Id: Ia6000d6c3557280126c6bb7f945c922528adeedc
SCompilerDriver.cpp
01f05d4b45cbde1e07d4707152908c1d843f1328 01-Jun-2013 Stephen Hines <srhines@google.com> Load scripts from cached files every time.

Bug: 7342767

Having an separate in-memory (vs. file-based) loader makes little sense as
we refactor libbcc (to separate it into its own process space). This change
is a first step in cleanly separating the compile and link steps.

Change-Id: Iad67527329171f18475ced0f0b2652a0aa060259
SCompilerDriver.cpp
SExecutable.cpp
SInfo.cpp
bc7576df5896d4c97034ca1427c240af19d12481 30-May-2013 Stephen Hines <srhines@google.com> Move RS runtime to frameworks/rs.

Bug: 7342767
Change-Id: I2c5e75a7324d9b7c1a89c81f377bf0718e96b463
ndroid.mk
untime/Android.mk
untime/arch/clamp.c
untime/arch/dot_length.c
untime/arch/generic.c
untime/arch/neon.ll
untime/arch/sqrt.c
untime/arch/x86_clamp.ll
untime/arch/x86_dot_length.ll
untime/arch/x86_generic.c
untime/arch/x86_math.ll
untime/build_bc_lib.mk
untime/build_clcore.sh
untime/convert.ll
untime/math.ll
untime/matrix.ll
untime/rsClamp.ll
untime/rs_allocation.c
untime/rs_cl.c
untime/rs_core.c
untime/rs_element.c
untime/rs_matrix.c
untime/rs_mesh.c
untime/rs_program.c
untime/rs_sample.c
untime/rs_sampler.c
untime/rs_structs.h
1435ae32704fd7e9cfbabca07c274e636e872210 29-May-2013 Jason Sams <jsams@google.com> Implement vector clamp for all types.

Change-Id: I4a1612d691a3f393a3d0e171aec9d8efb8c5ab8e
untime/Android.mk
untime/arch/clamp.c
untime/arch/generic.c
untime/arch/neon.ll
untime/build_bc_lib.mk
b81d697ec617be24494b622a3532f1c465264415 22-May-2013 Nick Kralevich <nnk@google.com> Renderscript: Don't call property_get on host

Accessing system properties only makes sense on the target, not
on the host.

This change is needed to remove host support for properties.

Change-Id: I41a34bdeae6a1e9a1481f2ecc80e69ead3bd0556
SCompilerDriver.cpp
SInfo.cpp
1d96bc8f1612656f1abe9a48feba4a9f819de419 17-May-2013 Stephen Hines <srhines@google.com> Take absolute value of value for fast_length().

Bug: 9018865
Change-Id: I46b23e0df4ae0b1e5c238f353d0b6de539887e9b
untime/rs_cl.c
fb6e5cb2606552ace0da9f0a47c8bfbf2707d53a 11-May-2013 Tim Murray <timmurray@google.com> am 3128f6cd: am c89f78b4: Remove extraneous logging.

* commit '3128f6cdffb4205de7897aa8fb8b6a768aaac376':
Remove extraneous logging.
c89f78b40e7823eb2d08e7129794c9f6f1992c08 09-May-2013 Tim Murray <timmurray@google.com> Remove extraneous logging.

bug 8888887

Change-Id: Ief798e6e139fd4971ce53f090004478f4e036a03
SCompilerDriver.cpp
SExecutable.cpp
cba9daefa053c8231971613d250832c298fbaaed 02-May-2013 Stephen Hines <srhines@google.com> am cb64b9aa: am b837262a: Disable NEON on cortex-a15 temporarily.

* commit 'cb64b9aa5a72fe1041ec0da6fff2a7a15ca67331':
Disable NEON on cortex-a15 temporarily.
b837262a9648128ed708d50c27b0d501baf90cfd 02-May-2013 Stephen Hines <srhines@google.com> Disable NEON on cortex-a15 temporarily.

Bug: 8530053
Change-Id: I4a13638fbdbefe5bb8063981a7bc3b08c972edbc
untime/Android.mk
39cbda33297e33ae172b3cad28596c2ee497412a 30-Apr-2013 Jason Sams <jsams@google.com> cleanup rsSample

Change-Id: I8147696b993dd90b6ab07c6c12dd421870092c51
untime/rs_sample.c
2a8abe7dc51c247f8abda8bd818c14d4d570d1ac 23-Apr-2013 Stephen Hines <srhines@google.com> Fix issues with 3D rs(Set|Get)ElementAt function.

Bug: 8680826
Change-Id: Ica91b4c9727f2424a29ea5b1f91dbc08d25f4873
untime/rs_allocation.c
1d4a9e4646e8786623daa6ac3917782be56a8fb2 18-Apr-2013 Stephen Hines <srhines@google.com> Improve caching for debug contexts.

Bug: 7343201

We now skip caching on debug contexts and destroy the cached script copy
when we are finished with it. This is a temporary fix until we can refactor
libbcc caching.

Change-Id: I356b67419dc246209c7b5e077264b0cf2e42578c
SCompilerDriver.cpp
8ee82d4c1dded958f27f0dc51ddeceda0c895d99 17-Apr-2013 Stephen Hines <srhines@google.com> Build debug version version of runtime (libclcore_debug.bc).

Bug: 7343201
Change-Id: I9ca9acd7b0e23762d28de3af0aa60d4a6d75e5dd
SInfo.cpp
SInfoExtractor.cpp
untime/Android.mk
untime/build_bc_lib.mk
untime/rs_allocation.c
8be0c88be431c96fca1fa8488067fd7c458b124e 06-Apr-2013 Jason Sams <jsams@google.com> Implement YUV functions

Provide special functions for retrieving U and V components


Change-Id: Ifa891f598079071c223d6ef54885721d931c5f46
untime/rs_allocation.c
bd447fb85869020951ee5724898be5c6b1c8cf54 03-Apr-2013 Jason Sams <jsams@google.com> Merge "Add support for debug get/set element" into jb-mr2-dev
43a5b59bc8b5bf677c4f2cbc174e48b8a33dc9af 03-Apr-2013 Jason Sams <jsams@google.com> Add support for debug get/set element

This fixes the per ABI issues of the previous
debug work.

Fix debug for vector types.

Change-Id: I884bff978a1000f2e93dbfa8bc7d3d99afd24df4
untime/rs_allocation.c
untime/rs_core.c
1d48ddc4f61fc80da96582c6a259a3ee024fecf4 03-Apr-2013 Stephen Hines <srhines@google.com> Update field offsets due to DebugHelper.

Change-Id: I90d804cc59b64cbb630011e012f42aa49cc4a2cd
untime/rs_structs.h
4b88f340840ad4e10f78ef51bef8ef69408ac73d 02-Apr-2013 Jason Sams <jsams@google.com> Merge "overhaul rs_sampler" into jb-mr2-dev
61c5f57b97d7306e36ec9f580f8d72562a791763 28-Mar-2013 Jason Sams <jsams@google.com> overhaul rs_sampler

Change-Id: I8c446e8266fb4200d6afe3f9765d58496bfa2162
untime/rs_sample.c
1531487e04ef5f61949bea7a3e2977279b38b0c2 27-Mar-2013 Tim Murray <timmurray@google.com> Revert "rsSampler work"

This reverts commit ee883164d3fec165134b17e52c75cc90f3980269.
untime/rs_sample.c
untime/rs_structs.h
ee883164d3fec165134b17e52c75cc90f3980269 22-Mar-2013 Jason Sams <jsams@google.com> rsSampler work

Change-Id: Idc16805320ea5af631cb5fa60e7ad9f10ef05e1a
untime/rs_sample.c
untime/rs_structs.h
826be465ebb0c786d83c61ddeec012fca88a49a7 20-Mar-2013 Jason Sams <jsams@google.com> Merge "Fix copy and paste error in matrix function names." into jb-mr2-dev
e47a15d07705d60ee14eb2cf116945c9b78dca3e 20-Mar-2013 Jason Sams <jsams@google.com> Fix copy and paste error in matrix function names.

bug 8426471

Change-Id: I20062263ae999fb660fa6e742d47d05724afb996
untime/rs_matrix.c
f424bce72e64899fe74cf73f10f0f4e105547549 19-Mar-2013 Stephen Hines <srhines@google.com> Move abs/clz into proper shared code space.

Previously these were only available to our generic implementation.
Machine-specific implementations would be missing these functions (which
can result in missing link-time dependencies).

Change-Id: I606848427d55a50d0ec6022007fa4ce2c88adc31
untime/arch/generic.c
untime/rs_cl.c
6231e390c0e174f7797b6bf09159e1a8d3cd864d 18-Mar-2013 Stephen Hines <srhines@google.com> Fix missing BCC_STRIP_ATTR dependency.

Change-Id: I602c2eb2df3d0b1013ae31c427ef35d0c6c25c6b
untime/build_bc_lib.mk
2187acafbd83fbf29f5b1d436a5a633dd35a628f 18-Mar-2013 Stephen Hines <srhines@google.com> Simpler build rules for running bcc_strip_attr.

Bug: 8383531
Change-Id: I0ae6415e9a2ba16155916df95a2bb07bf4067081
untime/build_bc_lib.mk
5c3e8c021224e5000c20988f668059dcb7539e74 18-Mar-2013 Stephen Hines <srhines@google.com> Merge "Revert "Build rules for running bcc_strip_attr."" into jb-mr2-dev
1a361253d8f2fa4cd271d8ccd5dfe5a11c7edbbe 18-Mar-2013 Stephen Hines <srhines@google.com> Revert "Build rules for running bcc_strip_attr."

This reverts commit 2c2a59e44baf98ba15ff7f85a67ab1747ae957f7

Change-Id: I4f9f96a58327c46d38bf6a956560555e9a38a5ce
untime/build_bc_lib.mk
2cb9d2c8f43c61ecfacc3f85a56cd558dde7514c 18-Mar-2013 Stephen Hines <srhines@google.com> Merge "Build rules for running bcc_strip_attr." into jb-mr2-dev
6ac532e01b532653ee2c89142109406b08ca2b39 18-Mar-2013 Tim Murray <timmurray@google.com> Remove __attribute((overloadable)) from rsUnpackColor8888.

Change-Id: I12e8af774a0a61bd8571c31406894779a443c300
untime/rs_core.c
2c2a59e44baf98ba15ff7f85a67ab1747ae957f7 15-Mar-2013 Stephen Hines <srhines@google.com> Build rules for running bcc_strip_attr.

Bug: 8383531
Change-Id: I15ffbb17e800efeadaac2047c182632c48ca194a
untime/build_bc_lib.mk
4d93e8dec63500a62ea72ea1d1c47a7c7ea5f358 15-Mar-2013 Jason Sams <jsams@google.com> Migrate atomics to .bc

Change-Id: I7792c2dad9d308b8fc5333d272a784277db8cb09
untime/rs_core.c
21f837b6d745abb375909b26020719bafd522c8c 12-Mar-2013 Jason Sams <jsams@google.com> Math lib opts

Change-Id: I77cfc17633a2a69a4445aa073d16dfd3b7c38876
untime/rs_cl.c
untime/rs_matrix.c
d9bf9445c59d57d6da66ef6f50bce667c10522d8 12-Mar-2013 Stephen Hines <srhines@google.com> Merge "Move generic function calls to rs_matrix.c." into jb-mr2-dev
450a8849b5675194b79719ef05cab92fb6ae38d2 12-Mar-2013 Stephen Hines <srhines@google.com> Move generic function calls to rs_matrix.c.

Change-Id: I9aa7c347f9d2c59a22e575ce04e1ea9e59067f2b
untime/arch/generic.c
untime/arch/neon.ll
untime/rs_matrix.c
3469783d5fc3a5594da8d10c42540dd5f4455143 12-Mar-2013 Jason Sams <jsams@google.com> Clamp rsPackPixel

Change-Id: Ideaf339c51677780e6267e4ac1b8de902fc1d353

Conflicts:
lib/Renderscript/runtime/arch/neon.ll
untime/Android.mk
untime/arch/generic.c
untime/arch/neon.ll
untime/pixel_packing.ll
9112850375c24d3ffb8ced3835f878b08c1297ab 12-Mar-2013 Jason Sams <jsams@google.com> Move simple matrix ops to the on device lib.

Change-Id: I2cd23cc2dab32c54f341e8e0cfbfbcaf1585c401
untime/Android.mk
untime/arch/generic.c
untime/arch/neon.ll
untime/rs_core.c
untime/rs_matrix.c
56cfa8160b5c855bf908ecb92491f953c9816963 05-Mar-2013 Jason Sams <jsams@google.com> am 25b7205e: Merge "Add more X86/SSE2+ optimized functions"

* commit '25b7205e16e422469da74f88e74ad79e7c284ac7':
Add more X86/SSE2+ optimized functions
3d0be775a298c8345a038e4f1e060176659ec9db 05-Mar-2013 Jason Sams <jsams@google.com> am e323991d: Merge "Start to add X86/SSE2+ optimized clcore library"

* commit 'e323991d04284925ff7aea8387bc55c1ed57a061':
Start to add X86/SSE2+ optimized clcore library
d805eacc8086e387ab25d3d502db8113281b3d9d 26-Feb-2013 Jason Sams <jsams@google.com> Apply eSize optimization to getElementAt

Implement 3D versions of the typed get/set functions

Performance improves 2-4% in most benchmarks that use these.

Change-Id: I6c752b3381d9b3c866b50039c33767fef46b2d20
untime/rs_allocation.c
bb05edd21dc3d886c154b0677b6bc87ae75019ee 19-Feb-2013 Stephen Hines <srhines@google.com> Merge "Add LinkRuntimeCallback() and supporting functions to RS compiler."
fac184e6598ec9eca40c13aa546498db7137c857 15-Feb-2013 Tim Murray <timmurray@google.com> Add MIRRORED_REPEAT.

Change-Id: I31c3f24728cf55b983377e20edc7022d104b6ddc
untime/rs_sample.c
06731a6150ae8014d37258d5f32ef8bc14a3db63 13-Feb-2013 Stephen Hines <srhines@google.com> Add LinkRuntimeCallback() and supporting functions to RS compiler.

Change-Id: I7745406a94ba74896ee98752a3de106d2672159d
SCompilerDriver.cpp
SScript.cpp
untime/rs_structs.h
3ab9da1e1b3d7794994393af086d096397fb84db 02-Feb-2013 Stephen Hines <srhines@google.com> Fix bcc_compat symbol resolution with libcompiler_rt.so.

Change-Id: Id6177e53ec9647b560a73de566d2d8a95d860200
SCompilerDriver.cpp
09ca95426a7ec66def02e47048bb25289759c6fb 26-Jan-2013 Shih-wei Liao <sliao@google.com> Switch to use libcompiler_rt for compiler runtimes.

Change-Id: I64b3d4ba80343bc592fa0df72242b33b2d2ae0ed
SCompilerDriver.cpp
f7401ab4b42dcbd782f20ba5c279694edbd28516 26-Jan-2013 Shih-wei Liao <sliao@google.com> Add libcompiler_rt.so as built-in dependencies for RS.

Change-Id: I376616ffbe26813a8341e87c965a27666d35b9a6
SInfo.cpp
SInfoExtractor.cpp
f0e8fdad566043d8ead4d2211c1060d2d5b4c355 25-Jan-2013 Jason Sams <jsams@google.com> Implement fast log and pow

Change-Id: I5f8f697378c6b72d67eeabe0ebd098a2daf3771f
untime/rs_cl.c
b730e239619a546d93e5926ea92d698ab77ec7f6 10-Jan-2013 Stephen Hines <srhines@google.com> Updates for LLVM merge to r171906 on 20130108.

Change-Id: I096cb90103b19e3110ea562d60e5eb8ad48d9b67
SCompiler.cpp
SEmbedInfo.cpp
SForEachExpand.cpp
SInfoExtractor.cpp
untime/build_bc_lib.mk
untime/build_clcore.sh
8c03b80ea520d971321100d4a5f7f301a7510fc9 19-Jan-2013 Tim Murray <timmurray@google.com> Merge "remove fabs LLVM intrinsic"
38fce22487e1a816a1e703f20e5400c634060f56 19-Jan-2013 Stephen Hines <srhines@google.com> Merge "Remove the fract(float) implementation."
54f9bf50c643a163d5dc48959e3cd64fe3532d21 18-Jan-2013 Jason Sams <jsams@google.com> Merge "Implement fast native_exp*"
28e2dd65d5781d5bbb98bde8a3dd54f85969158f 18-Jan-2013 Jason Sams <jsams@google.com> Implement fast native_exp*

Change-Id: I0989527a7993023131f991ba260c7bf9d9eae51c
untime/rs_cl.c
db64973c80058c0a6e685d1ca8e7a96cc48a405c 17-Jan-2013 Stephen Hines <srhines@google.com> Remove the fract(float) implementation.

Change-Id: I09df57618748eb33c7a233f6f6c59e21d0072107
untime/rs_cl.c
385a61565c8b30fea0bc0f8bccff1848aa94936e 16-Jan-2013 Stephen Hines <srhines@google.com> Merge "rs_matrix types are not 16-byte aligned, so we have to load them as align 4."
65cd36f9052a317bab961fd86415e4faa55d00d0 16-Jan-2013 Stephen Hines <srhines@google.com> rs_matrix types are not 16-byte aligned, so we have to load them as align 4.

Change-Id: I30742a23fe87db7cb68d2c97bc022f7ee418ef82
untime/matrix.ll
ee1571e8ad198c01af7817dd068f552ccf822093 15-Jan-2013 Tim Murray <timmurray@google.com> remove fabs LLVM intrinsic

Change-Id: Ifc1dd2ac25ad0682cc5b1f682b0f524f74ebb26a
untime/math.ll
untime/rs_cl.c
fb32f0d150ae43e6c6c4c92fe13a92ead3f5e065 09-Jan-2013 Jason Sams <jsams@google.com> Update allocation headers for yuv.

Change-Id: I341ce90c06cbd358d8da4b62d5947b07b3f7c6c2
untime/rs_allocation.c
untime/rs_structs.h
f887657c2f07b86fab4b190e599e7d004e204d13 20-Oct-2012 Michael Liao <michael.liao@intel.com> Add more X86/SSE2+ optimized functions

- SSSE3 optimized length() is added by using HADDPS
- SSSE3 optimized dot() is added by using HADDPS
- scalar exp() and pow() is translated into LLVM intrinsics to allow
backend to schedule insn around them to reduce register pressure or
improve code scheduling. They eventually will be lowered into standard
C math library call.

Change-Id: Ife462352e15d1762ba46829165a3d02b3b1be858
Author: Michael Liao <michael.liao@intel.com>
Signed-off-by: Yong Chen <yong.a.chen@intel.com>
Signed-off-by: Xiaokang Qin <xiaokang.qin@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Signed-off-by: Jack Ren <jack.ren@intel.com>
Author-tracking-BZ: 66242
untime/Android.mk
untime/arch/dot_length.c
untime/arch/x86_dot_length.ll
untime/arch/x86_math.ll
untime/rs_cl.c
cdcce323a2acddb4234e6906c691e20bb3d714f9 26-Sep-2012 Michael Liao <michael.liao@intel.com> Start to add X86/SSE2+ optimized clcore library

'sqrt' and 'clamp' are optimized on x86/sse2 target.

Change-Id: Ia8f1b12c666828de88c49699006e44b17431a9ac
Author: Michael Liao <michael.liao@intel.com>
Signed-off-by: Yong Chen <yong.a.chen@intel.com>
Signed-off-by: Xiaokang Qin <xiaokang.qin@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Signed-off-by: Jack Ren <jack.ren@intel.com>
Author-tracking-BZ: 61893
SInfo.cpp
SScript.cpp
untime/Android.mk
untime/arch/sqrt.c
untime/arch/x86_clamp.ll
untime/arch/x86_generic.c
untime/arch/x86_math.ll
untime/rs_cl.c
426db95e17cdbaa9b1ff26eb32d20374681a96c2 03-Jan-2013 Tim Murray <timmurray@google.com> Fix potential bad pointer dereference with fract().

Bug: 7938590

Change-Id: I11c5abc589fa188c0e6790b08c3a6629c4243199
untime/rs_cl.c
56c9751e346dbdf98be57f789e6d70203a465cbe 17-Dec-2012 Tim Murray <timmurray@google.com> Merge "add rsSetElementAt_<type>."
0116d8b4247829adfb64b9cb7992eb783a54abd5 13-Dec-2012 Stephen Hines <srhines@google.com> Fix bug in object slot implementation.

The implementation of object slots in RSInfo is different from that in bcinfo.
In particular, this variant uses a bitmask where order does matter, rather
than a list of slot id numbers that are actually objects. I have adjusted
the walk pattern for RSEmbedInfo to take this into account.

Change-Id: I0d587546452411a79e0f20f908b53aeca731ea7c
SEmbedInfo.cpp
688e4c0dd73c273551f517fa85a08b40dd63eacc 13-Dec-2012 Stephen Hines <srhines@google.com> Fix long-standing bug with multiple pragmas.

There is a subtle bug here in that the rs_fp_imprecise setting will always be
clobbered with rs_fp_full due to the "fast return" path. This change also
replaces ::strcmp() with the original implementation's std::string::compare().

Change-Id: I5b309583fed84d09ded091e25f1971fa9e1ec430
SInfo.cpp
d4d0bf5a4ae2aafd1646035fed8b57cdfb617817 12-Dec-2012 Tim Murray <timmurray@google.com> add rsSetElementAt_<type>.

Change-Id: I14390d8186f4fe0d31bdbd9f653671f9eb2fc4f6
untime/rs_allocation.c
5543d490870e2b74c4d674d212ed974abe31d533 12-Dec-2012 Jason Sams <jsams@google.com> Use llvm fabs intrinsic.

Change-Id: I7e593ec2306305bc510c0a18ebc697b18c5992dc
untime/math.ll
untime/rs_cl.c
2965f541bc4fe593b832b8949ccec7ab0d026de0 27-Nov-2012 Jason Sams <jsams@google.com> Merge "Update libbcc for cpu separation."
8b1532ef9c3b60565cadcf3a5fb3816d889bf616 17-Nov-2012 Jason Sams <jsams@google.com> Update libbcc for cpu separation.

Change-Id: I14cdf14cc8a8df42efe960a4aafd9e2b282f509d
untime/rs_allocation.c
untime/rs_sample.c
untime/rs_structs.h
86a0b797c221d4c3373dc10c8229b75b6747f6e7 07-Nov-2012 Stephen Hines <srhines@google.com> Embed RS metadata info directly in emitted object code.

Bug: 7419958
Change-Id: Ibd82e503c006532aa74013a46dd13ec3e9473daa
ndroid.mk
SCompiler.cpp
SCompilerDriver.cpp
SEmbedInfo.cpp
SExecutable.cpp
331310e1f3f86a795f78e42b3f03558a43829f09 27-Oct-2012 Stephen Hines <srhines@google.com> bcc_compat - convert bitcode to shared object files.

BUG: 7419958

Change-Id: Ie81203b460d60425780657b51ba3aba2b2b77e05
SCompilerDriver.cpp
SInfo.cpp
SInfoExtractor.cpp
SScript.cpp
d82c527a2a3b8d5ee165dea3ffeaf643ef6c606e 19-Oct-2012 Stephen Hines <srhines@google.com> am 6f3138bb: Fix missing data for mObjectSlots.

* commit '6f3138bbc93b7105ddb49a803c15c3f98077f533':
Fix missing data for mObjectSlots.
6f3138bbc93b7105ddb49a803c15c3f98077f533 19-Oct-2012 Stephen Hines <srhines@google.com> Fix missing data for mObjectSlots.

The refactored version for metadata extraction skipped actually populating
the mObjectSlots list. This can result in memory leaks in libRS, as well
as having the potential for corruption (since we are now returning an
empty list to a driver that expects legitimate boolean values).

Bug: 7377851
Change-Id: Id67d46232eeb6b1f59904037b0504a5c590874ee
SInfoExtractor.cpp
af0d05f17010986121d6199f247b772a97250227 17-Oct-2012 Tim Murray <timmurray@google.com> Add 1D and 2D rsSetElementAt.

Change-Id: Ied1ffbeaf311541990ecc935915c5c52a1a8b0e6
untime/rs_allocation.c
0d6d592c5c0d28331151e6c4b7fb7d0789b99974 01-Oct-2012 Stephen Hines <srhines@google.com> Fix improper cast for pown on CPU/GPU.

Bug: 7256001
Change-Id: I5231c418e19dab6682a2afd806f5068a3eceb3f7
untime/rs_cl.c
ceb4c0f5fc5f63c6e494fc2fda25e4461d27abb5 25-Sep-2012 Stephen Hines <srhines@google.com> Switch to TargetData::getTypeAllocSize().

We were accidentally using 12 for float3 instead of 16, so our pointer
updates would get out of sync.

Bug: 7224526
Change-Id: I0e3f7f52ef3a862d7f60a46755bb22e533ff289d
SForEachExpand.cpp
74a4b08235990916911b8fe758d656c1171faf26 22-Sep-2012 Stephen Hines <srhines@google.com> Fix pass-by-value when the return type uses pass-by-reference.

Since we are using a baseline ARM ABI for Renderscript's portable bitcode,
we need to handle the case where a large return value gets passed as a
pointer (it becomes the first argument). This also fixes a small issue
where the first argument could be the return value (i.e. passed by
reference). I also have verified that coerced struct pass-by-value is
now working with this change.

Bug: 7166741

Change-Id: I7c00ff437ad862f9b8b244d87ccbca19e46c5775
SForEachExpand.cpp
4fdec9b00e2643b764c4f9786def10d643818aba 21-Sep-2012 Jason Sams <jsams@google.com> Cleanup naming of aprox & half functions.
bug 7205089

Change-Id: I73261ae024507b21cfe85dcf2a7ba68de76f0bcf
untime/arch/generic.c
untime/arch/neon.ll
untime/rs_cl.c
7ae3a828fade4e30f7940415949f33ac1f15dc77 15-Sep-2012 Stephen Hines <srhines@google.com> Implement expandKernel() for pass-by-value.

This change implements the libbcc portion of pass-by-value in RS kernels.
The expandKernel() function creates the appropriate loop construct around
the kernel call (thus foo() -> foo.expand()).

Bug: 7166741

Change-Id: I2e4c85b8ac70372dc6d02671e8768381070e9721
SForEachExpand.cpp
1b84ea3be223d95e55965c0d5721d7c91a5a66b9 11-Sep-2012 Stephen Hines <srhines@google.com> am 2e00e3b8: am 89fb60df: Merge "Fix length(float v) issue"

* commit '2e00e3b8648dbc2fc865f14545bff532b75250ee':
Fix length(float v) issue
2ac4cb14fd34fff9ed1fede229aea9c84edb6556 29-Aug-2012 Jason Sams <jsams@google.com> Merge "Cache element type in allocation." into jb-mr1-dev
561df916775aa38f9b915889ded8824da02bc03f 29-Aug-2012 Jason Sams <jsams@google.com> Cache element type in allocation.

Change-Id: Ia99e56106fc9bd58282248e803cbf6610eb2cf0c
untime/rs_structs.h
de0d6bf95e1cd4c87bfbcaa122a99e038b773b8b 16-Aug-2012 Rajeev Sharma <rdsharma@google.com> Add approx_atan function

Change-Id: I3a4770ed1634dc5ec541d21acdd181be4d513deb
untime/rs_cl.c
f3a719289eba0d2b47830b9e40858ed4a413d25b 03-Jul-2012 Rajeev Sharma <rdsharma@google.com> LL version of rsClamp. Fix non-vector clamp.

Change-Id: I7107425fa0c535b47ca4233ced05845b872b199f
untime/Android.mk
untime/arch/neon.ll
untime/rsClamp.ll
untime/rs_core.c
539ea206fe36a54de0cb2763244d61c1a8e1ff84 04-Aug-2012 Rajeev Sharma <rdsharma@google.com> Initial version of approx recip, sqrt, and rsqrt

Contains NEON implementations of approximate reciprocal, sqrt, and rsqrt, as
well as generic C implementations of generic sqrt and rsqrt.

Change-Id: I5a0a847c9b80e9aebee7f402ba1cb79b6663ad65
untime/arch/generic.c
untime/arch/neon.ll
untime/rs_cl.c
8b5be8604307d0dd342235803dd45775830b84c6 03-Aug-2012 Shih-wei Liao <sliao@google.com> Apply changes to migrate to LLVM-160668-20120724.

Change-Id: I515f90ff6b7222f9e69481c21a10173e1b0b40d2
SForEachExpand.cpp
2b04086acbef6520ae2c54a868b1271abf053122 28-Jul-2012 Stephen Hines <srhines@google.com> Use known strides instead of input args when possible.

BUG=6892059

Change-Id: I15b3726624ff0eeca5e30aaa6de928f1c9912471
SCompiler.cpp
SForEachExpand.cpp
6e9e89d1ed049ec931bb1000948c12698e6c5484 28-Jul-2012 Stephen Hines <srhines@google.com> Add back support for bccAssert.

Change-Id: Ib8abe1c5c1bd8390fd3b9268f43f6de3c8803560
SForEachExpand.cpp
e198abec6c5e3eab380ccf6897b0a0b9c2dd92dd 28-Jul-2012 Stephen Hines <srhines@google.com> Rename RenderScript -> Renderscript.

Change-Id: I187928033b47f3e3f4cb811a0b3562f479cfe417
ndroid.mk
SCompiler.cpp
SCompilerDriver.cpp
SExecutable.cpp
SForEachExpand.cpp
SInfo.cpp
SInfoExtractor.cpp
SInfoReader.cpp
SInfoWriter.cpp
SScript.cpp
untime/Android.mk
untime/arch/generic.c
untime/arch/neon.ll
untime/build_bc_lib.mk
untime/build_clcore.sh
untime/convert.ll
untime/math.ll
untime/matrix.ll
untime/pixel_packing.ll
untime/rs_allocation.c
untime/rs_cl.c
untime/rs_core.c
untime/rs_element.c
untime/rs_mesh.c
untime/rs_program.c
untime/rs_sample.c
untime/rs_sampler.c
untime/rs_structs.h