Skip to content

Instantly share code, notes, and snippets.

@agustingianni
Created September 5, 2014 17:32
Show Gist options
  • Select an option

  • Save agustingianni/4f8a1db93fecb90354f9 to your computer and use it in GitHub Desktop.

Select an option

Save agustingianni/4f8a1db93fecb90354f9 to your computer and use it in GitHub Desktop.
{
"name" : "QDSUB",
"encoding" : "T1",
"version" : "ARMv6T2, ARMv7",
"format" : "QDSUB<c> <Rd>, <Rm>, <Rn>",
"pattern" : "111110101000 Rn#4 1111 Rd#4 1011 Rm#4",
"decoder" : """d = UInt(Rd); n = UInt(Rn); m = UInt(Rm); if d IN {13,15} || n IN {13,15} || m IN {13,15} then UNPREDICTABLE;"""
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment