https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90984
--- Comment #1 from Shawn Landden ---
Also, how do I do a integer-to-float conversion to work around this bug?
: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: slandden at gmail dot com
Target Milestone: ---
Implicit integer to float conversions are not my favorite part of C, but they
are a part of C
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90774
--- Comment #3 from Shawn Landden ---
> So this kind of reassociation can only be done with either -fwrapv or
> unsigned types. Due to integer overflow being undefined.
That depends on 1) if operations are re-ordered differn't to the order
Component: middle-end
Assignee: unassigned at gcc dot gnu.org
Reporter: slandden at gmail dot com
Target Milestone: ---
When gcc knows that it is dealing with splats it should just do regular
arithmetic, and only convert to splat at the end.
https://simd.godbolt.org/z/6P3Qcq
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90768
Shawn Landden changed:
What|Removed |Added
Component|middle-end |target
--- Comment #3 from Shawn
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90768
Shawn Landden changed:
What|Removed |Added
CC||segher at gcc dot gnu.org
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90768
--- Comment #1 from Shawn Landden ---
Whoops I got that backwards, converting the bit test to a
greater-than-or-equal-to is better.
Priority: P3
Component: middle-end
Assignee: unassigned at gcc dot gnu.org
Reporter: slandden at gmail dot com
Target Milestone: ---
Converting the >= 8 to a & 8 results in one less instruction on power 9
https://godbolt.org/z/0QPN3z
#include
#include
int bcmp
Assignee: unassigned at gcc dot gnu.org
Reporter: slandden at gmail dot com
Target Milestone: ---
This should compile (that const is preventing it):
#include
vector char vec_load_const(const unsigned char *s, int num) {
return vec_xl_len(s, num);
}
https://ppc.godbolt.org/z
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: slandden at gmail dot com
Target Milestone: ---
test2.c: In function ‘main’:
test2.c:113:42: error: macro "offsetof" requires 2 arguments, but on
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90453
--- Comment #6 from Shawn Landden ---
Ahh, sorry for wasting your time. I didn't notice the signed requirement, which
is why it didn't work.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90453
--- Comment #4 from Shawn Landden ---
Oh my bad, I got it backwards
vector unsigned long long unpackedl, unpackedr;
vector unsigned int packed;
packed = vec_pack(unpackedl, unpackedr);
unpackedl = vec_unpackh(packed);
unpackedr =
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90453
--- Comment #2 from Shawn Landden ---
vector unsigned long long unpacked;
vector unsigned int packedl, packedr;
unpacked = vec_pack(packedl, packedr);
packedl = vec_unpackh(unpacked);
packedr = vec_unpackl(unpacked);
verity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: slandden at gmail dot com
Target Milestone: ---
I know these are not part of the spec, but it would make coding easier, as a
GNU extension.
Component: other
Assignee: unassigned at gcc dot gnu.org
Reporter: slandden at gmail dot com
Target Milestone: ---
Given that the glibc features is based on AT_HWCAPS which comes from Linux this
should be quite straight forward.
#ifdef __KERNEL__
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82625
--- Comment #8 from Shawn Landden ---
Included in gcc 9
Severity: normal
Priority: P3
Component: other
Assignee: unassigned at gcc dot gnu.org
Reporter: slandden at gmail dot com
Target Milestone: ---
If I define two functions that both use the target_clones attribute, and list
the same architectures, when
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90323
--- Comment #3 from Shawn Landden ---
Instead:
.globl without_sel
.type without_sel, @function
without_sel:
.LFB0:
.cfi_startproc
xxlxor 36,34,36
xxland 36,36,35
xxlxor 34,34,36
blr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90323
--- Comment #4 from Shawn Landden ---
that was compiled with -O3
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90323
--- Comment #2 from Shawn Landden ---
Created attachment 46305
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46305=edit
test case.
These two functions should produce identical code.
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: slandden at gmail dot com
Target Milestone: ---
Something like this:
xi = xi & ~is_subnormal;
xi |= subnormal & is_subnormal;
should be converted to:
xi = sel_vec(xi, subnormal, is_subnormal);
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58774
--- Comment #5 from Shawn Landden ---
Appears fixed
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58774
Shawn Landden changed:
What|Removed |Added
CC||slandden at gmail dot com
--- Comment
23 matches
Mail list logo