diff options
author | bje <bje@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-09-04 21:10:59 +0000 |
---|---|---|
committer | bje <bje@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-09-04 21:10:59 +0000 |
commit | 56535ebe90575acd283b54b5358383647fd0c7e8 (patch) | |
tree | 59926d4233f76c86f9db086126cbc4da0d011363 /gcc/config/rs6000 | |
parent | 611ca89a42e7562251af3343e9922bc8d59eaf74 (diff) | |
download | gcc-56535ebe90575acd283b54b5358383647fd0c7e8.tar.gz |
* config/rs6000/ppu_intrinsics.h (__protected_stream_count):
Rename count macro arugment for clarity.
(__protected_unlimited_stream_set): Pass UG=1 to __dcbt_TH1000.
(__protected_stream_set): Likewise, pass 0.
testsuite/
* gcc.target/powerpc/ppu-intrinsics.c: Add test cases for the
__protected_stream family of macros.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128103 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/rs6000')
-rw-r--r-- | gcc/config/rs6000/ppu_intrinsics.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/config/rs6000/ppu_intrinsics.h b/gcc/config/rs6000/ppu_intrinsics.h index b18f42de575..7a7551eaa54 100644 --- a/gcc/config/rs6000/ppu_intrinsics.h +++ b/gcc/config/rs6000/ppu_intrinsics.h @@ -246,10 +246,10 @@ typedef int __V4SI __attribute__((vector_size(16))); | ((ID) & 0xF))) : : "memory") #define __protected_unlimited_stream_set(DIRECTION, ADDR, ID) \ - __dcbt_TH1000 ((ADDR), (DIRECTION)>>1, 0, (ID)) + __dcbt_TH1000 ((ADDR), (DIRECTION)>>1, 1, (ID)) #define __protected_stream_set(DIRECTION, ADDR, ID) \ - __dcbt_TH1000 ((ADDR), (DIRECTION)>>1, 1, (ID)) + __dcbt_TH1000 ((ADDR), (DIRECTION)>>1, 0, (ID)) #define __protected_stream_stop_all() \ __dcbt_TH1010 (0, 3, 0, 0, 0, 0) @@ -257,8 +257,8 @@ typedef int __V4SI __attribute__((vector_size(16))); #define __protected_stream_stop(ID) \ __dcbt_TH1010 (0, 2, 0, 0, 0, (ID)) -#define __protected_stream_count(CNT, ID) \ - __dcbt_TH1010 (0, 0, (CNT), 0, 0, (ID)) +#define __protected_stream_count(COUNT, ID) \ + __dcbt_TH1010 (0, 0, (COUNT), 0, 0, (ID)) #define __protected_stream_go() \ __dcbt_TH1010 (1, 0, 0, 0, 0, 0) |