diff options
Diffstat (limited to 'post/lib_powerpc')
| -rw-r--r-- | post/lib_powerpc/andi.c | 2 | ||||
| -rw-r--r-- | post/lib_powerpc/cpu_asm.h | 32 | ||||
| -rw-r--r-- | post/lib_powerpc/rlwimi.c | 6 | ||||
| -rw-r--r-- | post/lib_powerpc/rlwinm.c | 6 | ||||
| -rw-r--r-- | post/lib_powerpc/rlwnm.c | 6 | ||||
| -rw-r--r-- | post/lib_powerpc/srawi.c | 6 | ||||
| -rw-r--r-- | post/lib_powerpc/three.c | 6 | ||||
| -rw-r--r-- | post/lib_powerpc/threei.c | 2 | ||||
| -rw-r--r-- | post/lib_powerpc/threex.c | 6 | ||||
| -rw-r--r-- | post/lib_powerpc/twox.c | 6 | 
10 files changed, 39 insertions, 39 deletions
| diff --git a/post/lib_powerpc/andi.c b/post/lib_powerpc/andi.c index 878b2ca7a..8a4b89b98 100644 --- a/post/lib_powerpc/andi.c +++ b/post/lib_powerpc/andi.c @@ -89,7 +89,7 @@ int cpu_post_test_andi (void)  	    if (ret != 0)  	    { -	        post_log ("Error at andi test %d !\n", i); +		post_log ("Error at andi test %d !\n", i);  	    }  	}      } diff --git a/post/lib_powerpc/cpu_asm.h b/post/lib_powerpc/cpu_asm.h index 66adad8f7..b5c588919 100644 --- a/post/lib_powerpc/cpu_asm.h +++ b/post/lib_powerpc/cpu_asm.h @@ -112,64 +112,64 @@  #define ASM_0(opcode)			(opcode)  #define ASM_1(opcode, rd)		((opcode) +		\ -	                                 ((rd) << 21)) +					 ((rd) << 21))  #define ASM_1C(opcode, cr)		((opcode) +		\ -	                                 ((cr) << 23)) +					 ((cr) << 23))  #define ASM_11(opcode, rd, rs)		((opcode) +		\ -	                                 ((rd) << 21) +		\ +					 ((rd) << 21) +		\  					 ((rs) << 16))  #define ASM_11C(opcode, cd, cs)		((opcode) +		\ -	                                 ((cd) << 23) +		\ +					 ((cd) << 23) +		\  					 ((cs) << 18))  #define ASM_11X(opcode, rd, rs)		((opcode) +		\ -	                                 ((rs) << 21) +		\ +					 ((rs) << 21) +		\  					 ((rd) << 16))  #define ASM_11I(opcode, rd, rs, simm)	((opcode) +		\ -	                                 ((rd) << 21) +		\ +					 ((rd) << 21) +		\  					 ((rs) << 16) +		\  					 ((simm) & 0xffff))  #define ASM_11IF(opcode, rd, rs, simm)	((opcode) +		\ -	                                 ((rd) << 21) +		\ +					 ((rd) << 21) +		\  					 ((rs) << 16) +		\  					 ((simm) << 11))  #define ASM_11S(opcode, rd, rs, sh)	((opcode) +		\ -	                                 ((rs) << 21) +		\ +					 ((rs) << 21) +		\  					 ((rd) << 16) +		\  					 ((sh) << 11))  #define ASM_11IX(opcode, rd, rs, imm)	((opcode) +		\ -	                                 ((rs) << 21) +		\ +					 ((rs) << 21) +		\  					 ((rd) << 16) +		\  					 ((imm) & 0xffff))  #define ASM_12(opcode, rd, rs1, rs2)	((opcode) +		\ -	                                 ((rd) << 21) +		\ +					 ((rd) << 21) +		\  					 ((rs1) << 16) +	\  					 ((rs2) << 11))  #define ASM_12F(opcode, fd, fs1, fs2)	((opcode) +		\ -	                                 ((fd) << 21) +		\ +					 ((fd) << 21) +		\  					 ((fs1) << 16) +	\  					 ((fs2) << 11))  #define ASM_12X(opcode, rd, rs1, rs2)	((opcode) +		\ -	                                 ((rs1) << 21) +	\ +					 ((rs1) << 21) +	\  					 ((rd) << 16) +		\  					 ((rs2) << 11))  #define ASM_2C(opcode, cr, rs1, rs2)	((opcode) +		\ -	                                 ((cr) << 23) +		\ +					 ((cr) << 23) +		\  					 ((rs1) << 16) +	\  					 ((rs2) << 11))  #define ASM_1IC(opcode, cr, rs, imm)	((opcode) +		\ -	                                 ((cr) << 23) +		\ +					 ((cr) << 23) +		\  					 ((rs) << 16) +		\  					 ((imm) & 0xffff))  #define ASM_122(opcode, rd, rs1, rs2, imm1, imm2)		\  					((opcode) +		\ -	                                 ((rs1) << 21) +	\ +					 ((rs1) << 21) +	\  					 ((rd) << 16) +		\  					 ((rs2) << 11) +	\  					 ((imm1) << 6) +	\  					 ((imm2) << 1))  #define ASM_113(opcode, rd, rs, imm1, imm2, imm3)		\  					((opcode) +		\ -	                                 ((rs) << 21) +		\ +					 ((rs) << 21) +		\  					 ((rd) << 16) +		\  					 ((imm1) << 11) +	\  					 ((imm2) << 6) +	\ diff --git a/post/lib_powerpc/rlwimi.c b/post/lib_powerpc/rlwimi.c index eccf71daa..6bd53d06c 100644 --- a/post/lib_powerpc/rlwimi.c +++ b/post/lib_powerpc/rlwimi.c @@ -114,7 +114,7 @@ int cpu_post_test_rlwimi (void)  		if (ret != 0)  		{ -	            post_log ("Error at rlwimi test %d !\n", i); +		    post_log ("Error at rlwimi test %d !\n", i);  		}  	    } @@ -127,8 +127,8 @@ int cpu_post_test_rlwimi (void)  		if (ret != 0)  		{ -	            post_log ("Error at rlwimi test %d !\n", i); -	        } +		    post_log ("Error at rlwimi test %d !\n", i); +		}  	    }  	}      } diff --git a/post/lib_powerpc/rlwinm.c b/post/lib_powerpc/rlwinm.c index 5eaf30b8e..35a1a40fc 100644 --- a/post/lib_powerpc/rlwinm.c +++ b/post/lib_powerpc/rlwinm.c @@ -107,7 +107,7 @@ int cpu_post_test_rlwinm (void)  		if (ret != 0)  		{ -	            post_log ("Error at rlwinm test %d !\n", i); +		    post_log ("Error at rlwinm test %d !\n", i);  		}  	    } @@ -120,8 +120,8 @@ int cpu_post_test_rlwinm (void)  		if (ret != 0)  		{ -	            post_log ("Error at rlwinm test %d !\n", i); -	        } +		    post_log ("Error at rlwinm test %d !\n", i); +		}  	    }  	}      } diff --git a/post/lib_powerpc/rlwnm.c b/post/lib_powerpc/rlwnm.c index 83ee70b52..6e828939e 100644 --- a/post/lib_powerpc/rlwnm.c +++ b/post/lib_powerpc/rlwnm.c @@ -117,7 +117,7 @@ int cpu_post_test_rlwnm (void)  		if (ret != 0)  		{ -	            post_log ("Error at rlwnm test %d !\n", i); +		    post_log ("Error at rlwnm test %d !\n", i);  		}  	    } @@ -130,8 +130,8 @@ int cpu_post_test_rlwnm (void)  		if (ret != 0)  		{ -	            post_log ("Error at rlwnm test %d !\n", i); -	        } +		    post_log ("Error at rlwnm test %d !\n", i); +		}  	    }  	}      } diff --git a/post/lib_powerpc/srawi.c b/post/lib_powerpc/srawi.c index b2760140b..3723e339b 100644 --- a/post/lib_powerpc/srawi.c +++ b/post/lib_powerpc/srawi.c @@ -108,7 +108,7 @@ int cpu_post_test_srawi (void)  		if (ret != 0)  		{ -	            post_log ("Error at srawi test %d !\n", i); +		    post_log ("Error at srawi test %d !\n", i);  		}  	    } @@ -121,8 +121,8 @@ int cpu_post_test_srawi (void)  		if (ret != 0)  		{ -	            post_log ("Error at srawi test %d !\n", i); -	        } +		    post_log ("Error at srawi test %d !\n", i); +		}  	    }  	}      } diff --git a/post/lib_powerpc/three.c b/post/lib_powerpc/three.c index f7317dded..c3e7f681a 100644 --- a/post/lib_powerpc/three.c +++ b/post/lib_powerpc/three.c @@ -211,7 +211,7 @@ int cpu_post_test_three (void)  		if (ret != 0)  		{ -	            post_log ("Error at three test %d !\n", i); +		    post_log ("Error at three test %d !\n", i);  		}  	    } @@ -224,8 +224,8 @@ int cpu_post_test_three (void)  		if (ret != 0)  		{ -	            post_log ("Error at three test %d !\n", i); -	        } +		    post_log ("Error at three test %d !\n", i); +		}  	    }  	}      } diff --git a/post/lib_powerpc/threei.c b/post/lib_powerpc/threei.c index f6d905253..1d40e1af3 100644 --- a/post/lib_powerpc/threei.c +++ b/post/lib_powerpc/threei.c @@ -103,7 +103,7 @@ int cpu_post_test_threei (void)  	    if (ret != 0)  	    { -	        post_log ("Error at threei test %d !\n", i); +		post_log ("Error at threei test %d !\n", i);  	    }  	}      } diff --git a/post/lib_powerpc/threex.c b/post/lib_powerpc/threex.c index 906fefd0d..ce1edf89d 100644 --- a/post/lib_powerpc/threex.c +++ b/post/lib_powerpc/threex.c @@ -181,7 +181,7 @@ int cpu_post_test_threex (void)  		if (ret != 0)  		{ -	            post_log ("Error at threex test %d !\n", i); +		    post_log ("Error at threex test %d !\n", i);  		}  	    } @@ -194,8 +194,8 @@ int cpu_post_test_threex (void)  		if (ret != 0)  		{ -	            post_log ("Error at threex test %d !\n", i); -	        } +		    post_log ("Error at threex test %d !\n", i); +		}  	    }  	}      } diff --git a/post/lib_powerpc/twox.c b/post/lib_powerpc/twox.c index 3a9b13684..9549dbb75 100644 --- a/post/lib_powerpc/twox.c +++ b/post/lib_powerpc/twox.c @@ -128,7 +128,7 @@ int cpu_post_test_twox (void)  		if (ret != 0)  		{ -	            post_log ("Error at twox test %d !\n", i); +		    post_log ("Error at twox test %d !\n", i);  		}  	    } @@ -141,8 +141,8 @@ int cpu_post_test_twox (void)  		if (ret != 0)  		{ -	            post_log ("Error at twox test %d !\n", i); -	        } +		    post_log ("Error at twox test %d !\n", i); +		}  	    }  	}      } |