mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-01-13 07:04:29 +08:00
(__ev_set_acc_u64): Use __ev_create_u64 to convert uint64_t into __ev64_opaque__.
(__ev_set_acc_s64): Likewise, but using signed types. From-SVN: r57930
This commit is contained in:
parent
bb02f6edd8
commit
218145d684
@ -1,3 +1,9 @@
|
||||
2002-10-08 Nick Clifton <nickc@redhat.com>
|
||||
|
||||
* config/rs6000/spe.h (__ev_set_acc_u64): Use __ev_create_u64 to
|
||||
convert uint64_t into __ev64_opaque__.
|
||||
(__ev_set_acc_s64): Likewise, but using signed types.
|
||||
|
||||
2002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
|
||||
|
||||
* config/s390/s390.md ("*doloop_si_long"): Add missing operand.
|
||||
|
@ -779,15 +779,19 @@ __ev_get_s16_internal (__ev64_opaque__ a, uint32_t pos)
|
||||
static inline __ev64_opaque__
|
||||
__ev_set_acc_u64 (uint64_t a)
|
||||
{
|
||||
__ev_mra (a);
|
||||
return (__ev64_opaque__) a;
|
||||
__ev64_opaque__ ev32;
|
||||
ev32 = __ev_create_u64 (a);
|
||||
__ev_mra (ev32);
|
||||
return ev32;
|
||||
}
|
||||
|
||||
static inline __ev64_opaque__
|
||||
__ev_set_acc_s64 (int64_t a)
|
||||
{
|
||||
__ev_mra (a);
|
||||
return (__ev64_opaque__) a;
|
||||
__ev64_opaque__ ev32;
|
||||
ev32 = __ev_create_s64 (a);
|
||||
__ev_mra (ev32);
|
||||
return ev32;
|
||||
}
|
||||
|
||||
static inline __ev64_opaque__
|
||||
|
Loading…
Reference in New Issue
Block a user