Displaying 1 result from an estimated 1 matches for "fun8".
Did you mean:
fun
2016 Jan 28
2
Vectors in Sparc
...t making much headway into it. I'm going to try to simplify this to the core problem I can see and hope I haven't missed anything relevant.
The original code I have is as follows:
typedef char vec8 __attribute__((vector_size(4)));
extern vec8 foo1_8(void);
extern vec8 foo2_8(void);
vec8 fun8(void)
{
return foo1_8 () & foo2_8 ();
}
On x86, this compiles into this IR:
; Function Attrs: nounwind uwtable
define i32 @fun8() #0 !dbg !4 {
%1 = tail call i32 @foo1_8() #2, !dbg !23
%2 = tail call i32 @foo2_8() #2, !dbg !24
%3 = and i32 %2, %1, !dbg !26
ret i32 %3, !dbg !27
}
On...