Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(123)

Issue 2582001: Add optimized version of memcpy on ia32. (Closed)

Created:
10 years, 6 months ago by Lasse Reichstein
Modified:
9 years, 6 months ago
Reviewers:
Erik Corry, antonm
CC:
v8-dev
Visibility:
Public.

Description

Add optimized version of memcpy on ia32. Only used in one place right now. Still room for tweaking.

Patch Set 1 #

Total comments: 25
Unified diffs Side-by-side diffs Delta from patch set Stats (+285 lines, -2 lines) Patch
M src/ia32/assembler-ia32.h View 1 chunk +9 lines, -0 lines 0 comments Download
M src/ia32/assembler-ia32.cc View 2 chunks +35 lines, -1 line 6 comments Download
M src/ia32/codegen-ia32.cc View 1 chunk +191 lines, -0 lines 12 comments Download
M src/ia32/disasm-ia32.cc View 2 chunks +8 lines, -1 line 2 comments Download
M src/utils.h View 1 chunk +39 lines, -0 lines 5 comments Download
M src/v8-counters.h View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Lasse Reichstein
10 years, 6 months ago (2010-06-03 12:53:35 UTC) #1
antonm
Very cool. Fast memset along these lines might benefit some arrays tests as well. http://codereview.chromium.org/2582001/diff/1/6 ...
10 years, 6 months ago (2010-06-03 13:51:21 UTC) #2
Erik Corry
http://codereview.chromium.org/2582001/diff/1/2 File src/ia32/assembler-ia32.cc (right): http://codereview.chromium.org/2582001/diff/1/2#newcode2225 src/ia32/assembler-ia32.cc:2225: ASSERT(CpuFeatures::IsEnabled(SSE2)); As far as I can see this is ...
10 years, 6 months ago (2010-06-03 20:29:49 UTC) #3
Erik Corry
This needs a test. Preferably one that somehow uses the non-SSE2 version too. http://codereview.chromium.org/2582001/diff/1/5 File ...
10 years, 6 months ago (2010-06-04 07:07:40 UTC) #4
Erik Corry
LGTM with comments http://codereview.chromium.org/2582001/diff/1/4 File src/ia32/codegen-ia32.cc (right): http://codereview.chromium.org/2582001/diff/1/4#newcode13541 src/ia32/codegen-ia32.cc:13541: __ mov(ecx, Operand(esp, stack_offset + kSizeOffset)); ...
10 years, 6 months ago (2010-06-04 07:18:09 UTC) #5
Lasse Reichstein
http://codereview.chromium.org/2582001/diff/1/2 File src/ia32/assembler-ia32.cc (right): http://codereview.chromium.org/2582001/diff/1/2#newcode2225 src/ia32/assembler-ia32.cc:2225: ASSERT(CpuFeatures::IsEnabled(SSE2)); Well spotted. http://codereview.chromium.org/2582001/diff/1/2#newcode2248 src/ia32/assembler-ia32.cc:2248: ASSERT(CpuFeatures::IsEnabled(SSE2)); True. Do we ...
10 years, 6 months ago (2010-06-04 11:52:13 UTC) #6
Lasse Reichstein
10 years, 6 months ago (2010-06-04 11:52:16 UTC) #7

          

Powered by Google App Engine
This is Rietveld 408576698