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

Side by Side Diff: src/x87/assembler-x87.cc

Issue 301083002: X87: Remove check for SAHF support in ia32 (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 1994-2006 Sun Microsystems Inc. 1 // Copyright (c) 1994-2006 Sun Microsystems Inc.
2 // All Rights Reserved. 2 // All Rights Reserved.
3 // 3 //
4 // Redistribution and use in source and binary forms, with or without 4 // Redistribution and use in source and binary forms, with or without
5 // modification, are permitted provided that the following conditions 5 // modification, are permitted provided that the following conditions
6 // are met: 6 // are met:
7 // 7 //
8 // - Redistributions of source code must retain the above copyright notice, 8 // - Redistributions of source code must retain the above copyright notice,
9 // this list of conditions and the following disclaimer. 9 // this list of conditions and the following disclaimer.
10 // 10 //
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 #include "serialize.h" 43 #include "serialize.h"
44 44
45 namespace v8 { 45 namespace v8 {
46 namespace internal { 46 namespace internal {
47 47
48 // ----------------------------------------------------------------------------- 48 // -----------------------------------------------------------------------------
49 // Implementation of CpuFeatures 49 // Implementation of CpuFeatures
50 50
51 void CpuFeatures::ProbeImpl(bool cross_compile) { 51 void CpuFeatures::ProbeImpl(bool cross_compile) {
52 CPU cpu; 52 CPU cpu;
53 // SAHF must be available in compat/legacy mode.
54 CHECK(cpu.has_sahf());
55 supported_ |= 1u << SAHF;
56 supported_ |= OS::CpuFeaturesImpliedByPlatform(); 53 supported_ |= OS::CpuFeaturesImpliedByPlatform();
57 54
58 // Only use statically determined features for cross compile (snapshot). 55 // Only use statically determined features for cross compile (snapshot).
59 if (cross_compile) return; 56 if (cross_compile) return;
60 } 57 }
61 58
62 59
63 void CpuFeatures::PrintTarget() { } 60 void CpuFeatures::PrintTarget() { }
64 void CpuFeatures::PrintFeatures() { } 61 void CpuFeatures::PrintFeatures() { }
65 62
(...skipping 1957 matching lines...) Expand 10 before | Expand all | Expand 10 after
2023 fprintf(coverage_log, "%s\n", file_line); 2020 fprintf(coverage_log, "%s\n", file_line);
2024 fflush(coverage_log); 2021 fflush(coverage_log);
2025 } 2022 }
2026 } 2023 }
2027 2024
2028 #endif 2025 #endif
2029 2026
2030 } } // namespace v8::internal 2027 } } // namespace v8::internal
2031 2028
2032 #endif // V8_TARGET_ARCH_X87 2029 #endif // V8_TARGET_ARCH_X87
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698