OLD | NEW |
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 1289 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1300 | 1300 |
1301 | 1301 |
1302 void Assembler::bsr(Register dst, const Operand& src) { | 1302 void Assembler::bsr(Register dst, const Operand& src) { |
1303 EnsureSpace ensure_space(this); | 1303 EnsureSpace ensure_space(this); |
1304 EMIT(0x0F); | 1304 EMIT(0x0F); |
1305 EMIT(0xBD); | 1305 EMIT(0xBD); |
1306 emit_operand(dst, src); | 1306 emit_operand(dst, src); |
1307 } | 1307 } |
1308 | 1308 |
1309 | 1309 |
| 1310 void Assembler::bsf(Register dst, const Operand& src) { |
| 1311 EnsureSpace ensure_space(this); |
| 1312 EMIT(0x0F); |
| 1313 EMIT(0xBC); |
| 1314 emit_operand(dst, src); |
| 1315 } |
| 1316 |
| 1317 |
1310 void Assembler::hlt() { | 1318 void Assembler::hlt() { |
1311 EnsureSpace ensure_space(this); | 1319 EnsureSpace ensure_space(this); |
1312 EMIT(0xF4); | 1320 EMIT(0xF4); |
1313 } | 1321 } |
1314 | 1322 |
1315 | 1323 |
1316 void Assembler::int3() { | 1324 void Assembler::int3() { |
1317 EnsureSpace ensure_space(this); | 1325 EnsureSpace ensure_space(this); |
1318 EMIT(0xCC); | 1326 EMIT(0xCC); |
1319 } | 1327 } |
(...skipping 1628 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2948 fflush(coverage_log); | 2956 fflush(coverage_log); |
2949 } | 2957 } |
2950 } | 2958 } |
2951 | 2959 |
2952 #endif | 2960 #endif |
2953 | 2961 |
2954 } // namespace internal | 2962 } // namespace internal |
2955 } // namespace v8 | 2963 } // namespace v8 |
2956 | 2964 |
2957 #endif // V8_TARGET_ARCH_IA32 | 2965 #endif // V8_TARGET_ARCH_IA32 |
OLD | NEW |