From a7e96642a9f91620b69716cc3198c6ebb4d0553c Mon Sep 17 00:00:00 2001 From: Kan-Ru Chen Date: Tue, 4 May 2010 15:53:33 +0800 Subject: [PATCH] codeflinger: Correct misleading comment of STM instruction According to the ARM Architecture Reference Manual, the comment on STM instruction should be in reverse order. Change-Id: I4af852a0478798ff7b02ab9c29c68e320ff78696 Signed-off-by: Kan-Ru Chen --- libpixelflinger/codeflinger/ARMAssembler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libpixelflinger/codeflinger/ARMAssembler.cpp b/libpixelflinger/codeflinger/ARMAssembler.cpp index fa9f1ade8..4726a08ec 100644 --- a/libpixelflinger/codeflinger/ARMAssembler.cpp +++ b/libpixelflinger/codeflinger/ARMAssembler.cpp @@ -334,7 +334,7 @@ void ARMAssembler::LDM(int cc, int dir, void ARMAssembler::STM(int cc, int dir, int Rn, int W, uint32_t reg_list) -{ // FA EA FD ED IB IA DB DA +{ // ED FD EA FA IB IA DB DA const uint8_t P[8] = { 0, 1, 0, 1, 1, 0, 1, 0 }; const uint8_t U[8] = { 0, 0, 1, 1, 1, 1, 0, 0 }; *mPC++ = (cc<<28) | (4<<25) | (uint32_t(P[dir])<<24) |