Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(334)

Issue 4452044: Fix arm compile problem on Lucid. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 6 months ago by Steve VanDeBogart
Modified:
13 years, 6 months ago
Reviewers:
DerekS, reed1
CC:
skia-review_googlegroups.com, jeffbailey
Base URL:
https://skia.googlecode.com/svn/trunk
Visibility:
Public.

Description

Fix arm compile problem on Lucid. Patch from Jeff Bailey <jeffbailey@google.com> These functions on ARM both are doing something weird where, when optimization is not enable, there aren't enough low registers available for the compiler to handle the asm. My ARM-fu is pretty weak, so I have forced the functions to -O1, which allows them to compile. It would be reasonable to set them to O2 as I expect anyone debugging this will just tweak it as appropriate. The error that this is solving: third_party/skia/src/opts/SkBitmapProcState_opts_arm.cpp: In function 'void SI8_D16_nofilter_DX_arm(const SkBitmapProcState&, const uint32_t*, int, uint16_t*)': third_party/skia/src/opts/SkBitmapProcState_opts_arm.cpp:101:24: error: can't find a register in class 'LO_REGS' while reloading 'asm' third_party/skia/src/opts/SkBitmapProcState_opts_arm.cpp:101:24: error: 'asm' operand has impossible constraints However, it has to be set on both functions, as after the first error is cleared, it triggers a second time. Committed: http://code.google.com/p/skia/source/detail?r=1228

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -0 lines) Patch
M src/opts/SkBitmapProcState_opts_arm.cpp View 2 chunks +12 lines, -0 lines 0 comments Download

Messages

Total messages: 12
Steve VanDeBogart
Anyone with arm assembly-foo want to comment?
13 years, 6 months ago (2011-04-23 00:43:21 UTC) #1
reed1
Are we seeing any problems building on other arm environments? i.e. can I reproduce this?
13 years, 6 months ago (2011-04-25 13:16:14 UTC) #2
jeffbailey
Use g++ 4.5 for ARM with optimization disabled. On Apr 25, 2011 6:16 AM, <reed@google.com> ...
13 years, 6 months ago (2011-04-25 13:45:25 UTC) #3
Steve VanDeBogart
Any other comments on this? I think Jeff is waiting on a resolution to this ...
13 years, 6 months ago (2011-04-26 16:34:26 UTC) #4
reed1
pending testing on android builds... LGTM
13 years, 6 months ago (2011-04-26 17:46:22 UTC) #5
jeffbailey
I don't know how to do that. Do you have a setup that it can ...
13 years, 6 months ago (2011-04-26 22:07:32 UTC) #6
reed1
Derek, can you chime in?
13 years, 6 months ago (2011-04-27 11:51:07 UTC) #7
DerekS
I didn't realize that we were even compiling the ARM files using the standard Lucid ...
13 years, 6 months ago (2011-04-27 14:23:13 UTC) #8
jeffbailey
If the Android build is compiling at -O2, then setting the opt level to 2 ...
13 years, 6 months ago (2011-04-27 15:56:04 UTC) #9
Steve VanDeBogart
ping... any progress on this? djsollen, I way I read things, we are waiting for ...
13 years, 6 months ago (2011-05-02 17:17:52 UTC) #10
DerekS
I'm out of the office this week, but I'm ok if you want to go ...
13 years, 6 months ago (2011-05-03 02:18:00 UTC) #11
Steve VanDeBogart
13 years, 6 months ago (2011-05-03 02:23:34 UTC) #12
On 2011/05/03 02:18:00, djsollen wrote:
> I'm out of the office this week, but I'm ok if you want to go ahead and
> submit this. I'll validate it's benefit the next time I do a android merge.
> 
> ~ Derek

Ok, committed.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b