Mercurial > vec
annotate gen/genvsx.c @ 48:7d55b2bf8152 default tip
vec: these macros literally never worked, oops
| author | Paper <paper@tflc.us> |
|---|---|
| date | Sat, 09 Aug 2025 16:03:34 -0400 |
| parents | 7955bed1d169 |
| children |
| rev | line source |
|---|---|
|
45
7955bed1d169
*: add preliminary floating point support
Paper <paper@tflc.us>
parents:
diff
changeset
|
1 /** |
|
7955bed1d169
*: add preliminary floating point support
Paper <paper@tflc.us>
parents:
diff
changeset
|
2 * vec - a tiny SIMD vector library in C99 |
|
7955bed1d169
*: add preliminary floating point support
Paper <paper@tflc.us>
parents:
diff
changeset
|
3 * |
|
7955bed1d169
*: add preliminary floating point support
Paper <paper@tflc.us>
parents:
diff
changeset
|
4 * Copyright (c) 2024-2025 Paper |
|
7955bed1d169
*: add preliminary floating point support
Paper <paper@tflc.us>
parents:
diff
changeset
|
5 * |
|
7955bed1d169
*: add preliminary floating point support
Paper <paper@tflc.us>
parents:
diff
changeset
|
6 * Permission is hereby granted, free of charge, to any person obtaining a copy |
|
7955bed1d169
*: add preliminary floating point support
Paper <paper@tflc.us>
parents:
diff
changeset
|
7 * of this software and associated documentation files (the "Software"), to deal |
|
7955bed1d169
*: add preliminary floating point support
Paper <paper@tflc.us>
parents:
diff
changeset
|
8 * in the Software without restriction, including without limitation the rights |
|
7955bed1d169
*: add preliminary floating point support
Paper <paper@tflc.us>
parents:
diff
changeset
|
9 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
|
7955bed1d169
*: add preliminary floating point support
Paper <paper@tflc.us>
parents:
diff
changeset
|
10 * copies of the Software, and to permit persons to whom the Software is |
|
7955bed1d169
*: add preliminary floating point support
Paper <paper@tflc.us>
parents:
diff
changeset
|
11 * furnished to do so, subject to the following conditions: |
|
7955bed1d169
*: add preliminary floating point support
Paper <paper@tflc.us>
parents:
diff
changeset
|
12 * |
|
7955bed1d169
*: add preliminary floating point support
Paper <paper@tflc.us>
parents:
diff
changeset
|
13 * The above copyright notice and this permission notice shall be included in all |
|
7955bed1d169
*: add preliminary floating point support
Paper <paper@tflc.us>
parents:
diff
changeset
|
14 * copies or substantial portions of the Software. |
|
7955bed1d169
*: add preliminary floating point support
Paper <paper@tflc.us>
parents:
diff
changeset
|
15 * |
|
7955bed1d169
*: add preliminary floating point support
Paper <paper@tflc.us>
parents:
diff
changeset
|
16 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
|
7955bed1d169
*: add preliminary floating point support
Paper <paper@tflc.us>
parents:
diff
changeset
|
17 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
|
7955bed1d169
*: add preliminary floating point support
Paper <paper@tflc.us>
parents:
diff
changeset
|
18 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
|
7955bed1d169
*: add preliminary floating point support
Paper <paper@tflc.us>
parents:
diff
changeset
|
19 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
|
7955bed1d169
*: add preliminary floating point support
Paper <paper@tflc.us>
parents:
diff
changeset
|
20 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
|
7955bed1d169
*: add preliminary floating point support
Paper <paper@tflc.us>
parents:
diff
changeset
|
21 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE |
|
7955bed1d169
*: add preliminary floating point support
Paper <paper@tflc.us>
parents:
diff
changeset
|
22 * SOFTWARE. |
|
7955bed1d169
*: add preliminary floating point support
Paper <paper@tflc.us>
parents:
diff
changeset
|
23 **/ |
|
7955bed1d169
*: add preliminary floating point support
Paper <paper@tflc.us>
parents:
diff
changeset
|
24 |
|
7955bed1d169
*: add preliminary floating point support
Paper <paper@tflc.us>
parents:
diff
changeset
|
25 /* ok */ |
|
7955bed1d169
*: add preliminary floating point support
Paper <paper@tflc.us>
parents:
diff
changeset
|
26 |
|
7955bed1d169
*: add preliminary floating point support
Paper <paper@tflc.us>
parents:
diff
changeset
|
27 #define USE_VSX_EXTENSIONS |
|
7955bed1d169
*: add preliminary floating point support
Paper <paper@tflc.us>
parents:
diff
changeset
|
28 #include "genaltivec.c" |
