[LLVMdev] Why is there no ashl/lshl?

edA-qa mort-ora-y eda-qa at disemia.com
Mon May 6 21:10:07 PDT 2013


There is a distinction between logical/arithmetic shift right, but why
not for shift left?

I'm also a bit confused by one example in the reference manual:
	<result> = lshr i8 -2, 1   ; yields {i8}:result = 0x7FFFFFFF
Is this an error in the manual? The result is supposed to be an i8 yet a
i32 is shown.

-- 
edA-qa mort-ora-y
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Sign: Please digitally sign your emails.
Encrypt: I'm also happy to receive encrypted mail.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: OpenPGP digital signature
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130507/3d18d282/attachment.sig>


More information about the llvm-dev mailing list