mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-28 08:12:28 +00:00
Simplify ftrace_hook()
We now have a test to prove that its transitive closure doesn't perform floating point computations.
This commit is contained in:
parent
61b9677c05
commit
b6182db813
11 changed files with 142 additions and 85 deletions
5
third_party/stb/stb_image_resize.c
vendored
5
third_party/stb/stb_image_resize.c
vendored
|
@ -16,12 +16,12 @@
|
|||
│ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │
|
||||
│ PERFORMANCE OF THIS SOFTWARE. │
|
||||
╚─────────────────────────────────────────────────────────────────────────────*/
|
||||
#include "third_party/stb/stb_image_resize.h"
|
||||
#include "libc/assert.h"
|
||||
#include "libc/macros.internal.h"
|
||||
#include "libc/math.h"
|
||||
#include "libc/mem/mem.h"
|
||||
#include "libc/str/str.h"
|
||||
#include "third_party/stb/stb_image_resize.h"
|
||||
|
||||
asm(".ident\t\"\\n\\n\
|
||||
stb_image_resize (Public Domain)\\n\
|
||||
|
@ -853,8 +853,7 @@ static float* stbir__get_decode_buffer(stbir__info* stbir_info) {
|
|||
#define STBIR__DECODE(type, colorspace) \
|
||||
((type) * (STBIR_MAX_COLORSPACES) + (colorspace))
|
||||
|
||||
static optimizespeed void stbir__decode_scanline(stbir__info* stbir_info,
|
||||
int n) {
|
||||
static void stbir__decode_scanline(stbir__info* stbir_info, int n) {
|
||||
int c;
|
||||
int channels = stbir_info->channels;
|
||||
int alpha_channel = stbir_info->alpha_channel;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue