MCPcopy Create free account
hub / github.com/pydata/numexpr / VEC_ARG1_ALIGNED

Function VEC_ARG1_ALIGNED

code_generators/interp_generator.py:380–393  ·  view source on GitHub ↗
(expr: str)

Source from the content-addressed store, hash-verified

378'''.replace('EXPR', expr)
379
380def VEC_ARG1_ALIGNED(expr: str) -> str:
381 return '''
382{
383 NE_REGISTER store_in = params->program[pc].ret;
384 NE_REGISTER arg1 = params->program[pc].arg1;
385 BOUNDS_CHECK(store_in);
386 BOUNDS_CHECK(arg1);
387
388 char *dest = params->registers[store_in].mem;
389 char *x1 = params->registers[arg1].mem;
390 EXPR;
391 return 0;
392}
393'''.replace('EXPR', expr)
394
395def VEC_ARG2_ALIGNED(expr: str) -> str:
396 return '''

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…