A Vector ops subextension to SimpleV is needed which is characterised by either dependence on nonstandard SUBVL and/or inter-element data interactions.
(Swizzle also falls into this category)
Keeping track of former discussions.
Wondering how (whether) to add vec2 cross product and if vec4 cross product exists.
vec2D a, b;
double z = a.x * b.y - b.x * a.y;
Answer seems to be no on vec4 cross product because it is called wedge product and is 2 planes.
Should VLEN and normalise be macro ops or microcode?
(In reply to Luke Kenneth Casson Leighton from comment #2)
> Wondering how (whether) to add vec2 cross product and if vec4 cross product
> Found this:
> vec2D a, b;
> double z = a.x * b.y - b.x * a.y;
> return z;
it *should* be possible to do this by way of the sparse matrix,
making it potentially possible to do in more dimensions than just 2/3.
should be possible by a Determinant Matrix Schedule to do crossproduct