Login

Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

ARM websites use two types of cookie: (1) those that enable the site to function and perform as required; and (2) analytical cookies which anonymously track visitors only while using the site. If you are not happy with this use of these cookies please review our Privacy Policy to learn how they can be disabled. By disabling cookies some features of the site will not work.

ARM Community: vqrshrn.u16 d0, q1, #0 instruction do not exists anymore - ARM Community

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

vqrshrn.u16 d0, q1, #0 instruction do not exists anymore Apple world is magic ! Rate Topic: -----

#1 User is offline   webshaker 

  • Regular Contributor
  • PipPipPip
  • Group: Members
  • Posts: 220
  • Joined: 07-October 10

Posted 10 September 2012 - 08:38 AM

Hi.

I have a small problem. xcode 4.4.1 do not accept those 2 instructions anymore
vqrshrn.u16		d0, q1, #0
vshrn.u16		d6, q3, #0



The problem comes from the immédiat value (#0)

I've had to replace those line by
vmovn.u16		d0, q1
vmovn.u16		d6, q3



But if vmovn is equivalent to vshrn, it is not really the same thing for vqrshrn !!!

I wonder if it could be a missing compilation option !
When you have eliminated the impossible, whatever remains, however improbable, must be the truth
0

#2 User is offline   sim 

  • Regular Contributor
  • PipPipPip
  • Group: Members.
  • Posts: 419
  • Joined: 04-October 06

Posted 10 September 2012 - 12:43 PM

The Architecture Reference Manual states that "VSHRN #0" is a synonym for "VMOVN", and that "VQSHRN #0" is a synonym for "VQMOVN".

hth
s.
2

#3 User is offline   sim 

  • Regular Contributor
  • PipPipPip
  • Group: Members.
  • Posts: 419
  • Joined: 04-October 06

Posted 10 September 2012 - 12:46 PM

"VQRSHRN #0" can be considered as "VQSHRN #0" as there will be no fractional bits to round.

s.
0

#4 User is offline   webshaker 

  • Regular Contributor
  • PipPipPip
  • Group: Members
  • Posts: 220
  • Joined: 07-October 10

Posted 11 September 2012 - 07:22 AM

View Postsim, on 10 September 2012 - 12:43 PM, said:

The Architecture Reference Manual states that "VSHRN #0" is a synonym for "VMOVN", and that "VQSHRN #0" is a synonym for "VQMOVN".


Hum, thank you. I did not see the last line of the doc !
And I did not know the VQMOVN instruction

That's nice !



When you have eliminated the impossible, whatever remains, however improbable, must be the truth
1

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic