This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: rs6000 machine description/assembly question


>>>>> Spundun  writes:

Spundun> I think negative of a number and a number itself will have same number
Spundun> of leading zeros. so when you do and %0,%0,%1, %0 will have the same
Spundun> number of leading zeros that %1 has. so whats the point of first two
Spundun> instructions?
Spundun> Can anyone tell what am I missing here?

	You might want to review two's complement representation of numbers.

David


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]