This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Vector comparison


Summing up the discussion.

Richard, do I understand correctly that the semantics of the new VCOND
should be as following:

res = VCOND <v1 ? v2 : v3> means:
foreach (i in length (v1)) res[i] = v1 == 0 ? v3[i] : v2[i]?


And does anyone still have thoughts about the boolean return type of
vector comparison? Do we need it and if we need it then how exactly we
want to implement it.


Thank you,
Artem.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]