mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-14 16:33:28 +00:00
notes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26856 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
210721aecc
commit
28b1a0b532
@ -506,6 +506,7 @@ Implement PPCInstrInfo::isLoadFromStackSlot/isStoreToStackSlot for vector
|
||||
registers, to generate better spill code.
|
||||
|
||||
===-------------------------------------------------------------------------===
|
||||
|
||||
int foo(int N, int ***W, int **TK, int X) {
|
||||
int t, i;
|
||||
|
||||
@ -518,5 +519,20 @@ int foo(int N, int ***W, int **TK, int X) {
|
||||
|
||||
We generate relatively atrocious code for this loop compared to gcc.
|
||||
|
||||
===-------------------------------------------------------------------------===
|
||||
|
||||
Altivec support. The first should be a single lvx from the constant pool, the
|
||||
second should be a xor/stvx:
|
||||
|
||||
void foo(void) {
|
||||
int x[8] __attribute__((aligned(128))) = { 1, 1, 1, 1, 1, 1, 1, 1 };
|
||||
bar (x);
|
||||
}
|
||||
|
||||
#include <string.h>
|
||||
void foo(void) {
|
||||
int x[8] __attribute__((aligned(128)));
|
||||
memset (x, 0, sizeof (x));
|
||||
bar (x);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user