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

Side by Side Diff: build/toolchain.gypi

Issue 426863006: MIPS64: Add support for architecture revision 6. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed comments. Created 6 years, 4 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 | src/mips64/assembler-mips64.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2013 the V8 project authors. All rights reserved. 1 # Copyright 2013 the V8 project authors. All rights reserved.
2 # Redistribution and use in source and binary forms, with or without 2 # Redistribution and use in source and binary forms, with or without
3 # modification, are permitted provided that the following conditions are 3 # modification, are permitted provided that the following conditions are
4 # met: 4 # met:
5 # 5 #
6 # * Redistributions of source code must retain the above copyright 6 # * Redistributions of source code must retain the above copyright
7 # notice, this list of conditions and the following disclaimer. 7 # notice, this list of conditions and the following disclaimer.
8 # * Redistributions in binary form must reproduce the above 8 # * Redistributions in binary form must reproduce the above
9 # copyright notice, this list of conditions and the following 9 # copyright notice, this list of conditions and the following
10 # disclaimer in the documentation and/or other materials provided 10 # disclaimer in the documentation and/or other materials provided
(...skipping 358 matching lines...) Expand 10 before | Expand all | Expand 10 after
369 'cflags': ['-EL'], 369 'cflags': ['-EL'],
370 'ldflags': ['-EL'], 370 'ldflags': ['-EL'],
371 'conditions': [ 371 'conditions': [
372 [ 'v8_use_mips_abi_hardfloat=="true"', { 372 [ 'v8_use_mips_abi_hardfloat=="true"', {
373 'cflags': ['-mhard-float'], 373 'cflags': ['-mhard-float'],
374 'ldflags': ['-mhard-float'], 374 'ldflags': ['-mhard-float'],
375 }, { 375 }, {
376 'cflags': ['-msoft-float'], 376 'cflags': ['-msoft-float'],
377 'ldflags': ['-msoft-float'], 377 'ldflags': ['-msoft-float'],
378 }], 378 }],
379 ['mips_arch_variant=="r6"', {
380 'cflags': ['-mips64r6', '-mabi=64', '-Wa,-mips64r6'],
381 'ldflags': [
382 '-mips64r6', '-mabi=64',
383 '-Wl,--dynamic-linker=$(LDSO_PATH)',
384 '-Wl,--rpath=$(LD_R_PATH)',
385 ],
386 }],
379 ['mips_arch_variant=="r2"', { 387 ['mips_arch_variant=="r2"', {
380 'cflags': ['-mips64r2', '-mabi=64', '-Wa,-mips64r2'], 388 'cflags': ['-mips64r2', '-mabi=64', '-Wa,-mips64r2'],
381 'ldflags': [ 389 'ldflags': [
382 '-mips64r2', '-mabi=64', 390 '-mips64r2', '-mabi=64',
383 '-Wl,--dynamic-linker=$(LDSO_PATH)', 391 '-Wl,--dynamic-linker=$(LDSO_PATH)',
384 '-Wl,--rpath=$(LD_R_PATH)', 392 '-Wl,--rpath=$(LD_R_PATH)',
385 ], 393 ],
386 }], 394 }],
387 ['mips_arch_variant=="loongson"', {
388 'cflags': ['-mips3', '-Wa,-mips3'],
389 }],
390 ], 395 ],
391 }], 396 }],
392 ], 397 ],
393 }], 398 }],
394 [ 'v8_can_use_fpu_instructions=="true"', { 399 [ 'v8_can_use_fpu_instructions=="true"', {
395 'defines': [ 400 'defines': [
396 'CAN_USE_FPU_INSTRUCTIONS', 401 'CAN_USE_FPU_INSTRUCTIONS',
397 ], 402 ],
398 }], 403 }],
399 [ 'v8_use_mips_abi_hardfloat=="true"', { 404 [ 'v8_use_mips_abi_hardfloat=="true"', {
400 'defines': [ 405 'defines': [
401 '__mips_hard_float=1', 406 '__mips_hard_float=1',
402 'CAN_USE_FPU_INSTRUCTIONS', 407 'CAN_USE_FPU_INSTRUCTIONS',
403 ], 408 ],
404 }, { 409 }, {
405 'defines': [ 410 'defines': [
406 '__mips_soft_float=1' 411 '__mips_soft_float=1'
407 ], 412 ],
408 }], 413 }],
414 ['mips_arch_variant=="r6"', {
415 'defines': ['_MIPS_ARCH_MIPS64R6',],
416 }],
409 ['mips_arch_variant=="r2"', { 417 ['mips_arch_variant=="r2"', {
410 'defines': ['_MIPS_ARCH_MIPS64R2',], 418 'defines': ['_MIPS_ARCH_MIPS64R2',],
411 }], 419 }],
412 ['mips_arch_variant=="loongson"', {
413 'defines': ['_MIPS_ARCH_LOONGSON',],
414 }],
415 ], 420 ],
416 }], # v8_target_arch=="mips64el" 421 }], # v8_target_arch=="mips64el"
417 ['v8_target_arch=="x64"', { 422 ['v8_target_arch=="x64"', {
418 'defines': [ 423 'defines': [
419 'V8_TARGET_ARCH_X64', 424 'V8_TARGET_ARCH_X64',
420 ], 425 ],
421 'xcode_settings': { 426 'xcode_settings': {
422 'ARCHS': [ 'x86_64' ], 427 'ARCHS': [ 'x86_64' ],
423 }, 428 },
424 'msvs_settings': { 429 'msvs_settings': {
(...skipping 400 matching lines...) Expand 10 before | Expand all | Expand 10 after
825 'OptimizeReferences': '2', 830 'OptimizeReferences': '2',
826 'EnableCOMDATFolding': '2', 831 'EnableCOMDATFolding': '2',
827 }, 832 },
828 }, 833 },
829 }], # OS=="win" 834 }], # OS=="win"
830 ], # conditions 835 ], # conditions
831 }, # Release 836 }, # Release
832 }, # configurations 837 }, # configurations
833 }, # target_defaults 838 }, # target_defaults
834 } 839 }
OLDNEW
« no previous file with comments | « no previous file | src/mips64/assembler-mips64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698