summaryrefslogtreecommitdiffstats
path: root/libpixelflinger/codeflinger/ARMAssembler.cpp
diff options
context:
space:
mode:
authorThe Android Open Source Project <initial-contribution@android.com>2010-06-21 11:50:42 -0700
committerThe Android Open Source Project <initial-contribution@android.com>2010-06-21 11:50:42 -0700
commit67e6fcd19533f54ca37cbe72425f55a40a7f0333 (patch)
tree51bd71957a0510d5b24d1f1e118e3b342214c8c2 /libpixelflinger/codeflinger/ARMAssembler.cpp
parentf1792b3d125a6adefa6941d20b3f26833570ab65 (diff)
parent1adbb607d2b6a74b7871a8cecd7c5690c8c5cf6d (diff)
downloadsystem_core-67e6fcd19533f54ca37cbe72425f55a40a7f0333.zip
system_core-67e6fcd19533f54ca37cbe72425f55a40a7f0333.tar.gz
system_core-67e6fcd19533f54ca37cbe72425f55a40a7f0333.tar.bz2
merge from froyo-plus-aosp
Change-Id: Ie231effb4d9dfd63aa98ec08b269c31ce32aa1c0
Diffstat (limited to 'libpixelflinger/codeflinger/ARMAssembler.cpp')
-rw-r--r--libpixelflinger/codeflinger/ARMAssembler.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/libpixelflinger/codeflinger/ARMAssembler.cpp b/libpixelflinger/codeflinger/ARMAssembler.cpp
index d3720c3..fa9f1ad 100644
--- a/libpixelflinger/codeflinger/ARMAssembler.cpp
+++ b/libpixelflinger/codeflinger/ARMAssembler.cpp
@@ -433,6 +433,16 @@ void ARMAssembler::UXTB16(int cc, int Rd, int Rm, int rotate)
{
*mPC++ = (cc<<28) | 0x6CF0070 | (Rd<<12) | ((rotate >> 3) << 10) | Rm;
}
+#if 0
+#pragma mark -
+#pragma mark Bit manipulation (ARMv7+ only)...
+#endif
+
+// Bit manipulation (ARMv7+ only)...
+void ARMAssembler::UBFX(int cc, int Rd, int Rn, int lsb, int width)
+{
+ *mPC++ = (cc<<28) | 0x7E00000 | ((width-1)<<16) | (Rd<<12) | (lsb<<7) | 0x50 | Rn;
+}
}; // namespace android