ALT Linux Bugzilla
– Attachment 8679 Details for
Bug 38274
gcc emits big chunks of junk instructions
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
delta16dec_tail
test.c (text/x-csrc), 359 bytes, created by
alexey.tourbin
on 2020-03-24 23:58:47 MSK
(
hide
)
Description:
delta16dec_tail
Filename:
MIME Type:
Creator:
alexey.tourbin
Created:
2020-03-24 23:58:47 MSK
Size:
359 bytes
patch
obsolete
>#include <stddef.h> >#include <stdint.h> >void delta16dec_tail(uint16_t *v, size_t n, unsigned v1) >{ > if (n == 1) > goto last; > unsigned v0; > uint16_t *last = v + n - 1; > do { > v0 = v[0], v0 += v1, v[0] = v0; > v1 = v[1], v1 += v0, v[1] = v1; > v += 2; > } while (v < last); > if (v == last) { >last: *v += v1; > } >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 38274
: 8679