OSDN Git Service

Add support for memcpy/memset to RS.
authorStephen Hines <srhines@google.com>
Fri, 4 Feb 2011 22:39:57 +0000 (14:39 -0800)
committerStephen Hines <srhines@google.com>
Fri, 4 Feb 2011 22:56:49 +0000 (14:56 -0800)
Bug: 3426446
Change-Id: I78170a50bdd891d928b3db96685b4c3c801b6f00

libs/rs/rsScriptC_Lib.cpp

index 8a85f6e..80da8ae 100644 (file)
@@ -856,6 +856,8 @@ static ScriptCState::SymbolTable_t gSyms[] = {
     { "__modsi3", (void *)&SC_modsi3, true },
     { "__udivsi3", (void *)&SC_udivsi3, true },
     { "__umodsi3", (void *)&SC_umodsi3, true },
+    { "memset", (void *)&memset, true },
+    { "memcpy", (void *)&memcpy, true },
 
     // allocation
     { "_Z19rsAllocationGetDimX13rs_allocation", (void *)&SC_allocGetDimX, true },