(expr: str)
| 437 | # which is significantly slower, so in general it's best if there's a branch |
| 438 | # inside each function: one for strided and one for aligned data. |
| 439 | def VEC_ARG0_STRIDED(expr: str) -> str: |
| 440 | return ''' |
| 441 | { |
| 442 | NE_REGISTER store_in = params->program[pc].ret; |
| 443 | BOUNDS_CHECK(store_in); |
| 444 | |
| 445 | char *dest = params->registers[store_in].mem; |
| 446 | |
| 447 | EXPR; |
| 448 | return 0; |
| 449 | } |
| 450 | '''.replace('EXPR', expr) |
| 451 | |
| 452 | def VEC_ARG1_STRIDED(expr: str) -> str: |
| 453 | return ''' |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…