Quick Search:

Mode

Context

Displaying 3 lines of context. None | Less | More | Full

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.274
 
1.275
 
MAIN:gmcgarry:20100310054042
 
pftn.c
_>21562156 }
 21572157 
 21582158 /*
<> 2159+ * Just invoke memcpy(3).
  2160+ */
  2161+static NODE *
  2162+builtin_memcpy(NODE *f, NODE *a)
  2163+{
  2164+        if (a == NULL)
  2165+                goto bad;
  2166+
  2167+        f->n_sp = lookup("memcpy", SNORMAL);
  2168+        return buildtree(CALL, f, a);
  2169+
  2170+bad:
  2171+        uerror("bad argument to __builtin_memcpy");
  2172+        return bcon(0);
  2173+}
  2174+
  2175+/*
21592176  * Take integer absolute value.
 21602177  * Simply does: ((((x)>>(8*sizeof(x)-1))^(x))-((x)>>(8*sizeof(x)-1)))
 21612178  */
     
 !
23152332         { "__builtin_constant_p", builtin_constant_p },
 23162333         { "__builtin_abs", builtin_abs },
 23172334         { "__builtin_expect", builtin_expect },
<> 2335+        { "__builtin_memcpy", builtin_memcpy },
<_23182336 #ifndef TARGET_STDARGS
 23192337         { "__builtin_stdarg_start", builtin_stdarg_start },
 23202338         { "__builtin_va_start", builtin_stdarg_start },
FishEye: Open Source License registered to PCC.
Your maintenance has expired. You can renew your license at http://www.atlassian.com/fisheye/renew
Atlassian FishEye, CVS analysis. (Version:1.6.3 Build:build-336 2008-11-04) - Administration - Page generated 2014-09-16 21:30 +0200